Community Questions & Answers

Geolocation Android

i am developing an Android app and i have to get the latitude and longitude to save it in a database.. but i can't make it work.. this is my code.. ~~~ if (Titanium.Geolocation.locationServicesEnabled === false){ Alerta.message="Servicios de...

Android Font Size Inconsistency

Hi, I have 2 android tablets by different companies both with DPIs of 213 and heights pretty similar (1205 vs 1216 - as reported by Ti.Platform.displayCaps.platformHeight). My code for a given label looks...

ti.nfc: Requested module not found: ti.nfc

Hi, I am trying to use the ti.nfc module in SDK: 3.4.0.GA and I get: ~~~ [ERROR] TiExceptionHandler: (main) [128,93754] ----- Titanium Javascript Runtime Error ----- [ERROR] TiExceptionHandler: (main) [0,93754] - In ti:/module.js:280,9 [ERROR]...

Emailing a composite image from an Android device

I need to create and then email a composite image - a paint layer imposed onto a photo. It is working on iOS devices, but on Android devices the image is not getting attached to the email. In an attempt to narrow down the problem I'm saving the composite...

Malformed app id for Android only

I created a project for iphone and android and entered the app name com.2kapps.washington211 No errors when just iPhone is selected but if Android is selected the error "Malformed app name" is display and I can't run the Android emulator. Is...

Access Genymotion app files

Hello! I'm using Genymotion as my Android emulator to test an app built initially for iOS. I'm getting errors every time I try access any file saved into applicationDataDirectory by the app. The file never actually exists apparently. I can't find any...

Splash screen incorrect res folder

Hi people! I've created Splash Screen for my app through http://ticons.fokkezb.nl . On smartphone, splash screens are ok, but on tablet they look out of resolution (it seems it loads default.png splash screen). How can I fix that? Thank you!

Buttons plays 3 sounds in order

Hey all, i want to make a button play 3 sounds in the order that i choose, with the code that i have below,they all play at the same time. note:each sound has a button attached to it and when the sound is playing the button's width increases by (this part...

android splashscreen not fit screen

Hi, I have an android device with this screen parameters: ~~~ [INFO] : Ti.Platform.displayCaps.dpi: 320 [INFO] : Ti.Platform.displayCaps.platformHeight: 1184 [INFO] : Ti.Platform.displayCaps.platformWidth: 768 [INFO] : Ti.Platform.displayCaps.xdpi:...

Admob looking for AdActivity

I am getting ff error: Ads: Could not find com.google.ads.AdActivity, please make sure it is registered in AndroidManifest.xml. [ERROR] : Ads: You must have AdActivity declared in AndroidManifest.xml with configChanges. but my AndroidManifest.xml does...

1 Time Use Button

hey all, i wanted to make a button that can only be pressed once after which it will disappear... however this button should be present if the window is refreshed... My code so far... ~~~ startButton = Ti.UI.createButton...

Database Select not working

Hi, This is my Titanium studio version : Version: 3.4.0.201409261227-827bFA2FF7cLVuUtuFNtX8GB189I I created a simple database with SQLite manager and exported it to the ../app/assets/android folder and try to install it and query it from the code of my...

DEVICE TOKEN

how to get the devie token my code is its showing error var deviceToken; var CloudPush = require('ti.cloudpush'); //fetch device token CloudPush.retrieveDeviceToken({ success : function deviceTokenSuccess(e) { deviceToken =...

Android Build on MAC Yosemite

Hello, I am using MAC OSX Yosemite, and installed titanium and android SDK but i am not able to run my application.. when i go to preferences -> Studio -> Platforms -> Android i am getting this ([Android SDK Home] No Android SDKs w...nd under...

Android Tab Text Color?

This has been driving me insane for months. As I'm testing an already-released-on-iOS app on Android, I'm finding the tabs of the app are not only black (expected default), but the text labels of those tabs are also black and, therefore, completely...

Showing 1-50 of 16,321 1 2 3 4 5 6327