Android imageview width percentage
App Type: Android SDK: 3.2.0 Device: Galaxy S3 i9300 Version: Android CM 4.3.1 Host: OSX 10.9.1 Alloy Just added imageview to xml: <Alloy> <Window> <ImageView image="/images/logo.png"...
View ArticleAnnotation Click Events not working on Android Help!
There is my code the event listener not working , I wanna open a new window with description of the stores but not open. Here is the code. mapview.addEventListener('click',function(e) {...
View ArticleTitanium Android GPS Tracking Background Service
Hi, I have some quiz. how to coding a GPS Tracking runing in background service and Start/Stop when press switch in app? My GPS Tracking stop after 5 minutes. Please Help me. tracksgps.js -- Tracking...
View ArticleHow to achieve extendable table view in titanium?
Hi, In tableview when i click on any row, it just show the sub rows below that row. Again I click the same row, it just hide that sub rows. How to achieve this?
View ArticleAndroid garbage files
Hello, i have a common question. I'm developing an app for iOS and Android and testing the app on real devices. After installing and testing the app on android, i'm always uninstalling the application,...
View ArticleWebview not working on Android Kitkat 4.4.2
Hi I'm playing a youtube video using titanium's webview. The video was playing on Ice Cream Sandwich and Jelly Bean OS but not on Android KitKat's OS. How can I play this with KitKat? Here's my code...
View ArticleProblem with Map V2 buttons on annotation's leftView
Hi, I have created a map (V2) on Android, I have some annotations and on each annotation the leftView is a View with buttons on it. Unfortunatelly I'm not able to get the buttons events. I have tryed...
View ArticleAndroid slide to change tab view
Hi how can I achieve to slide left or right to change tab on Android: Here's my current code: var tabGroup = Titanium.UI.createTabGroup(); var nowShowingWindow = Titanium.UI.createWindow({ title: "Now...
View ArticleProblem With WebView - Android - Local JS
Hi all i have a webview that load a local js file when i run the app in the emulator or device in developing mode all work fine. when i try to prepare the app for the distribution it stop to work , it...
View ArticleDiagnosing "Failed to compile Java source files"
Console log doesn't really give me any clues what to pursue. Is there any way of obtaining more detail about what went wrong? [INFO] : No aidl files to compile, continuing [INFO] : Generating i18n...
View ArticleBring active app back to foreground using a notification
Hi, I try to bring my, in the background running, app to the foreground by clicking a notification in the statusbar, just like the Android Gmail app works. I am not able to get it working, I tried...
View ArticleAndroid: How to generate device token?
Hi all! -I want to generate device token in android for push notifications. I have searched a lot but can't find any proper solution for this. -What I am doing is , I am registering a device token...
View Articledensity specific images take too much space - portrait and landscape
I have the same images in the landscape and portrait folders for each particular resolution. This makes my app be 30MB instead of 18MB. If I don't include my resources in the landscape folder also, the...
View ArticleTransfer cloud data from one window to another
Hello, any help that I can able to take cloud data (which is custom objects fields) from one window to another? In other words, making cloud data universal throughout the whole application. Thanks...
View ArticleHow to catch Power Button long press event in Titanium
Hi, I am trying to catch the power button long press in android (using Titanium). Can anyone help me? Any help would be appreciated. Thanks
View ArticleMove object with finger - Kicking problem
I'm trying to move an object to the left and to the right with my finger, but when I move it, it keep kicking up and down while moves to left or right.... someone knows anything about it? how can I fix...
View ArticlePickerRow color
Hello, I've tried this code to have red color in PickerRow but it doesn't work with Android 4.2.1 Do you have any idea please ? var Picker1 = Ti.UI.createPicker( { top:100,...
View ArticleMy simple simple app not install into android emulator
Hi .... i create a simple app to days ago and work fine,but after update don't install this app on android emulator.I don't kwnow the motivation. I post my console, help me please: Titanium...
View ArticleCan't get fastdev working for Android with SDK 3.2.0
Hey all. I can't get fastdev working for Android with SDK 3.2.0 on Windows 7 64 bit. I've followed the guide here. Here's what I'm doing, step by step - I hope someone can point me in the right...
View ArticleView in scrollview problem android
Hi I have a problem with a view in scrollview on android. It works fine on iPhone, but on Android the label is the same place and not able to scroll. I have tried to change the view to scrollview - but...
View Article