Community Questions & Answers

Invalid token request on Android

I am trying to implement push notifications in an Android app we are developing. However I am not able to get a device token on Android. My code for requesting a device token looks like this: ~~~ CloudPush.retrieveDeviceToken( { success:...

Possible Stupid question

excuse my lack of understanding, I must be missing something completely obvious here in this logic..i want to load a webview( different ) every 7 days..ie if i start on tuesday www.abc.com next tueday it will be ww.abc1.com...and so on... ~~~ var...

Playing sound one by one not working

Hi I want to run a list of sounds one by one using createSound.I have found a code for that and playing with it but no matter index of sound changes it plays the same sound(first one) again and again.Any help would be appreciated thanks ~~~ var mp3_array...

Studio

Hi all Does anyone know how to fix auto complete it seems to work on and off can find my created variables etc Many Thanks Roger

Android: application resume

I built the application, launched it and clicked the central button, so the application closed. Then I clicked the icon once again and splash screen appeared and application started from the begging. Is it normal? Could I just save the state and then...

Retrive keystore password

i need to update an App on Google Play, sadly i have misplaced password for keystone - obviously when using a different keystone i get the certificate error.... Can i retrieve Keystore password?? thanks in advance. Darren

$.resetClass() crashes app

Using $.resetClass() on views/objects created on the fly will apply styling to said views on an iOS device but will cause an Android device to crash. Why does $.resetClass crash an Android device but not an iOS one? I fixed the problem by switching to...

Keyboard in android hide

i have an a scrollview with many textfield like children. the problem is when being in the middle of the form and i write in a textfield to the bottom,the keypad hides and don´t allow me write what can i do? Parent Scrollview ~~~ var self =...

Geolocation mistake

I have an application that shows my position on the map correctly, and sends locations ro server at each 10 seconds. When I try to restore the path by reading these positions from database, nothing corresponds to what appeares on the original map. If I...

Possible to open installed app from link?

I would like to be able to send an email or text link which would open within my (already installed) app on the recipient's device. Is it possible to make a device open the app and then utilize the sent url when the user clicks through the sent message?

toImage() for android ?

Hello i am not abel to use toImage() in android at all I've tried it on ImageView and View ScrollView etc all not work,also when stringfy the object i got this `[INFO] : ...

Easy Android Push

Dear all, I'm a bit struggling with push notifications on Android. iOS is super easy, and I want a way like that for Android too. What are your best experiences? I don't want to use ACS for push. What I'm looking for: A way to send just text to app users...

Recommended environment for development with Titanium

1. Does titanium run on MacBook Pro? (ie, do I need a Mac Pro instead/) 2. Knowing I have both Microsoft and Apple environments available to me, what is a 'best practices' environment to use Titanium across these platforms? What source code repository is...

navBarHidden: true not working for a simple windo

Below is my simple app.js file. I do not want the navigation bar to appear, but navBarHidden: true is not working as I expect it should. App.js code is as follows: Titanium.UI.setBackgroundColor('#000000'); var welcomeWindow =...

Error on xhr.send

I have this code which gives me the error: function connectServer(lat, lon, ddmmaa, hhmmss) { var url = 'http://www.npctech.net.br/teste_insert/insert.php'; var xhr = Ti.Network.createHTTPClient( { onload : function(e) { ...

miga.tintimage module not found ?

I've downloaded this Module and installed it from Help->install module https://github.com/m1ga/tintimage i got this error [ERROR] : TiExceptionHandler: (main) [260,260] ----- Titanium Javascript Runtime Error ----- [ERROR] : TiExceptionHandler:...

GPS time and coordinates

Dear Fellow Developers Titanium 3x ; Android ; Mobile ; NFC ; Camera ; GPS I'm working on an App for Mountain Bike Orienteering ... and I need to record accurate time and place at the moment a BLE Beacon, NFC tag or maybe barcode is scanned. I have...

Database issue

Application type:mobile,Titanium sdk:3.3.0 GA,Titanium studio:3.3,platform:android and ios,OS:Mac OSX 10.9.3 Hi, When I am trying to access the database for the first time its saying no such table exists but after it works fine: Any wrong in my...

Detect video play in webview

I am showing a web page in webview which includes a video. The video is playing fine on both iOS and android. What I need is a way to know when the video streaming starts in the webview? I need to do something when this happens. Is there some kind of...

Exchange game data between cloud users

Hello, I want to write a game where the cloud server generates some challenges and people can play against each other. This requires user login, management, connecting users for a game, data backend and live game data exchange. So far I used Cloud.Users...

App crash on Resume - Android

Hello, I have a very strange issue. When I presses the android home button and bring back the app to foreground my app crashes. I have noticed few points regarding the crash. 1 - Is there are many apps(other applications) running in background or you...

Showing 1-50 of 63,063 1 2 3 4 5 61262