Quantcast
Channel: Appcelerator Developer Center Q&A Tag Feed (android)
Browsing all 7655 articles
Browse latest View live
↧

Error timeout in office network

Hi, Sometimes in office network I am getting timeout error for soap calls. But in 3G and normal Wifi it is working fine.So, please help me in this.

View Article


Where is res/drawable/Icon.png located?

I keep getting this error: [ERROR] : Failed to package application: [ERROR] : [ERROR] : res/drawable/Icon.png: Invalid file name: must contain only [a-z0-9_.] [ERROR] Application Installer abnormal...

View Article


Using for templates

Hi, How do I use require tag in xml and require method in .js file for importing templates. I have a collection of templates(for instance mytemplate.js) in app/lib folder. I wish to import those files...

View Article

Android optionDialog androidView with multiple pickers

I have made this optionDialog for Android which shows two pickers for selecting an age range.var agePicker = Ti.UI.createPicker({ useSpinner: true });   var from = ['0', '1', '2', '3', '4', '5', '6',...

View Article

Keep monitoring for iBeacons when app is completely closed

Hi, I'm trying to build an app in Titanium which is going to monitor for iBeacons. The basic part for monitoring is no problem, but i want it to run even if the app is completely closed. If it monitors...

View Article


Equivalent of .iOS.createNavigationWindow in Android?

I am developed an app for iOS using Titanium. Now my idea is to try to port it to android devices. I am finding lots of errors which I am solving as I go, but I don't seem to find the solution to this...

View Article

Error Android Video Player

Hi i am Using Titanium 3.2.3GA Android Here is my Code To play a Remote Video var videourl ="https://www.youtube.com/watch?v="+results.video_id; Ti.API.info('video: '+videourl); // The URL is correct...

View Article

ImageView disappearing upon touchend (touchstart image displays correctly)

Hello and thanks for your time. I have an image disappearing upon touchend. The touchstart (button down) image is appropriately preloaded and is visible, however when the original button image is...

View Article


Android 'change' event firing thousands of times when I try to mask a...

Hi there the following code on android: var changeCounter = 0; $.registrationPhone.addEventListener( 'change', function( event ){ Ti.API.info( 'The textField has been changed ' + ++changeCounter + '...

View Article


Masking a phone number behaves differently on iOS and Android.

I'm a little embarrassed. I am having trouble with textfield behavior between iOS and android. It seems that the mask that I have prepared for iOS is not working for android because the textfield in...

View Article

How to change the behavior of the Titanium Studio IDE when compiling?

Titanium Studio is acting weird. When ever I try to compile and run the project, it stops and fails at installing the app. It gives this error when doing so: [ERROR] : Failed to package application:...

View Article

Android device throwing error when interrupted by an alert. Causes?

I had an "Emergency Alert" on an Android device interrupt my application, triggering the end of a process, at which time my code checked the time in milliseconds with the code below,var now = new...

View Article

Titanium-Problem with Event Listener

Problem Statement I am working on a module which have a array of textfields which are located next to each other,as soon as user types a single character the focus moves to other textfield and so on...

View Article


Issue with scrollview contentHeight

I have a view with height = Ti.UI.SIZE inside of a scrollview. In the scrollview i set the contentHeight in Ti.UI.SIZE. and the scrollview doesn't scroll at all in Android, but if i set contentHeight...

View Article

compress image

I'm having troubles with my app. I want to compress image from a server, is it possible? I am programming on android and now my app is too slow. any ideas?

View Article


java.lang.NullPointerException on...

Hello Folks, I currently have an application in the google play store and recevied a crash with the following stacktrace: java.lang.NullPointerException at...

View Article

Android - AudioPlayer stopped when window closed

Running on SDK 3.2.3, Android 4.4. My app's root is a tab group. Users may open new windows on top of the tab group. On new windows users may start an audio player. The problem is if I close the window...

View Article


Error to load database file at first time install android app

I have an error which is Uncaught Error : Java Exception occurred. The error is happening at the first time install. If try to debug again at 2nd time , then the database file will be loaded...

View Article

Problem with building package for android store (maps)

Hi there! Preinfo: After developing so much titanium, finally I got my first mobile app finished. It is already in the iOS and Play Store. Unfortunatelly I didn't use the built-in packaging mechanism...

View Article

Alloy widget problem

I am testing the highchart with Alloy. Here is the sample project link - high chart Alloy widget Here is the titanium blog : - interactive-charts-in-appcelerator-titanium it runs fine inside iOS,...

View Article
Browsing all 7655 articles
Browse latest View live


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