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

createNotification make a toast notification very small!

Hi all, Im using this code below to create a simply toast notification: var toast = Ti.UI.createNotification({ message:"Please Stand By", duration: Ti.UI.NOTIFICATION_DURATION_LONG }); toast.show(); In...

View Article


Can't see typed text and hint text on textField on Android

This is the textField code :$.loginscreen.accPromptView.emailtextf = Ti.UI.createTextField({ paddingLeft:'4%', // 10 de 250 borderStyle : "INPUT_BORDERSTYLE_NONE", keyboardType :...

View Article


Appcelerator Barcode Scanner Module not working on latest Android devices (4.2+)

Hi, I am using Appcelerator Barcode Scanner module in my application. Perfectly working on version 4.0 and 4.0.3. But not working on latest Android devices (4.2+) I have compiled the module using...

View Article

Rows inside TableViewSection not displayed in Android

I'm using Alloy, Titanium SDK version 3.2.2.GA. I have a TableView with 3 TableViewSections, and each of them has some static rows. In iOS the following markup works ok, but in android only the headers...

View Article

Intermittent Fatal signal 11 error during file write on Android

I've been wracking my brains on this for three weeks now. I'd appreciate any insights. The only aspect that is consistent is that the error happens after an image is downloaded is written to the...

View Article


Detect Android density and select folder

Hi, I'm trying to make some code work in my app.js for detect the device density and use adapted images for tab icons. Maybe there's a better solution, but i suppose that this one should work, but...

View Article

Check row clicked and hide check on last row clicked

Hi guys, There a better way to do this on code below, and instead of using tableView event use a row click event or swipe ? var lastRowChecked = 0; var rowDef = 0; var win = Ti.UI.createWindow({...

View Article

Android Blues! Font will not show

Hello all, I'm having the android blues! Been hitting my head against the keyboard for about 4 hours now, would have pulled my hair already if I had any. I've created a Titanium Alloy Widget that...

View Article


Adding New ListItem via Button Test in List View

I gain some experience in understanding the new Titanium Alloy version 3.2.x that has an MVC structure and appeared fairly easy. Now, since I mastered making listview and switching window views, I'm...

View Article


Runtime Error on Ti.Platform.openURL

Hi All, Am using Titainum 3.1.4 SDK version and build app for Android In my app i am using this bellow code for make dial to a number.var phoneNumber = '9123456789';...

View Article

Titanium Alloy App hangs or reverts to Splash Screen

Dear fellow Developers New at Ti.Alloy ... new at JS ... teaching myself via tutorials and examples. New subject is NFC. I've built two apps that have both reverted or hung up at Splash Screen. I've...

View Article

Force portrait screen: No methods work for me!

Hi, how can be possible to waste entire days to solve stupid things like this? I want that my app always is in portrait mode. I followed all the stuff on this and other sites (creating custom manifest,...

View Article

How to create a country list in android using scroll view

I'm using Titanium Studio, build: 3.2.1.201402041146, and my operating system is Windows 8. I have an android alloy mobile application project and in that for my registration form I have to get the...

View Article


java.lang.IllegalArgumentException: bitmap size exceeds 32bits...

My app was built using Titanium SDK 3.1.2.GA and the latest Alloy at the time I've had 5 reports of a crash on Android 4.3. It seems to be crashing in the Titanium SDK. The stack trace ends like this -...

View Article

Error JDK 1.8.0 Android

Hello, I have a little problem and I hope u can help me :) I installed Titanium for w7 a few days ago, it is the newest version (CLI 3.2.3 and Ti SDK 3.2.3). I installed the latest Android SDK and the...

View Article


module.exports in Android Alloy not working - Uncaught TypeError

I have an app which all works fine in ios but not android and I'm struggling to understand why. In Android I get a Message: Uncaught TypeError: Object function Controller() { error and another error of...

View Article

Image map button to select parts of an image.

I have requirement to display a human body image and select parts of the body for a health related application. I would like to know if this is possible in Titanium.

View Article


"Installing Software has encountered a problem"

Is anyone else having problems installing the Java Development Kit from the Eclipse Update Site? These are the details of my failure: An error occurred while collecting items to be installed session...

View Article

Unable to convert value to float

I have this listener mapView.addEventListener('longclick',function(e){ Ti.API.info(e.type); Ti.API.info(e.latitude + "," + e.longitude);   var tmpAnn = MapModule.createAnnotation({ latitude:...

View Article

How to use publishinstall to track instals?

Trying to use the module https://github.com/taniele/publishinstall#publishinstall to track the installations on android devices that my app has, the only example that comes is var publishinstallfb =...

View Article
Browsing all 7655 articles
Browse latest View live


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