Quantcast
Browsing all 8068 articles
Browse latest View live

titanium 3.2.1.201402041146 keeps asking to update Titanium CLI 3.2.1

titanium 3.2.1.201402041146 keeps asking to update Titanium CLI 3.2.1. After accepting the update everything seems to work fine. But after a little while it asks me again to update. If I do in CLI:...

View Article


Is it correct to use Ti.Platform.displayCaps.logicalDensityFactor for pixels-...

In order to avoid this problem, i had to set a main View in my app in fixed height value instead of its previous relative value in percentage. For this reason i wrote this formula when creating that...

View Article


Facebook Login not working

Am using 3.2 sdk, android emulator and Alloys. I am trying to log my users using facebook login and after giving authorize to the app, just a screen like this freezes and stay. I have configured...

View Article

Facebook and GoogleMaps modules

Hi, How to exclude the built-in modules Facebook and Google Maps from an app ?

View Article

How to get all children (visible and invisible) from a ListView?on click

How to get all children (visible and invisible) from a ListView?

View Article


Delete events from Android calendar

Hello all, I'm in real need of a code that can delete events from an Android calendar. As we all know by now the Titanium SDK does not allow this. But before I start hacking away in Java to create a...

View Article

ScollView fans out when textfield inside it is focused in

in my app i've two screens( two views..) and inside each one there is a scrollView with textfields nested on it. For the first screen i could avoid the same problem as in this question to happen by...

View Article

Invalid dimension value (inf) requested. Making the dimension undefined instead.

Hello, I try to generate an image-blob from a view that contains image-views. Here is a part of my code var mergeview = Ti.UI.createView({ backgroundColor: 'transparent', width: 612, height:792, });...

View Article


Titanium build error ios and android

Hi ,I m using macosx mavericks and Titanium 3.2.2 and node v.10.26 when I try to start ios simulator I m getting this error.Titanium Command-Line Interface, CLI version 3.2.1, Titanium SDK version...

View Article


Imageresize with Ti.Utils.base64encode problem

Hi This solution// Resized to a size that most phones should support var resizedImage = e.media.imageAsResized(1024, 1024); // Set the image view with the resized image imageView.image = resizedImage;...

View Article

KitchenSink not running for android

Hello, I have setup titanium studio and install android sdk and import KitchenSink project but when i run this project it return below error. Titanium Command-Line Interface, CLI version 3.2.1,...

View Article

Is there any way to over write setRequestHeader()

Hi, is there any way to over write setRequestHeader(...) for all xhr of project with just one line code? For example for WebView which is wroted in index.xml

View Article

Open gallery from within camera mode.

Hi! I'm using Alloy, Latest SDK, developing under iPhone. The case is to open the gallery from camera mode. The steps I make are: Show camera with standard method:Titanium.Media.showCamera({ success:...

View Article


returnreturnKeyType="Titanium.UI.RETURNKEY_DONE" doesn't work

<TextField id="NomTextField" class="whitefsize10" borderStyle="INPUT_BORDERSTYLE_NONE" keyboardToolbarColor="#999" returnreturnKeyType="Titanium.UI.RETURNKEY_DONE" keyboardToolbarHeight="40"...

View Article

Object disappears after animation

Hi, why imgView disappears after animation instead of remaining?var win = Ti.UI.createWindow({ layout: 'vertical', navBarHidden: true, width: '100%', height: '100%', backgroundColor: '#fff', });   var...

View Article


Picker on android

Hi, I have the code below. It turns out that with iOS emulator it runs OK. But with android, the two views do not line up the same, the lines overlaps on the first picker and cleaning function in the...

View Article

Navigate to Tabgroup screen

i have created one login page and after login i navigate to home screen, problem i am facing is i navigate to tabgroup screen(home screen) ,window to window navigation is fine but can any one tell how...

View Article


Website project to Titanium app

Hi! I want to know if with Titanium I can transform a website project to an application. Thanks!

View Article

Titanium Picker Column Header

Hi, I have a picker with multiple pickers. How can i add a header to each column say "Column1", "Column2"... etc. Thanks Abhishek

View Article

Mobile Web NavigationGroup back button not responding

I have an Alloy Mobile Web app, with a NavigationGroup pretty much out of the example given in the NavigationGroup docs. However, the leftNavButton is not generating click events. No matter how I...

View Article
Browsing all 8068 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>