Community Questions & Answers

Airplay button ?

Hello, I was looking at [this post](http://developer.appcelerator.com/question/144330/airplay-support-module) and was wondering if a solution for create a iTunes-like Airplay button to put in an app existed ? There's nothing about this on search...

How to load huge data into table view?

The table view loads 2000 records very slowly and sometime is crashed.How to load huge data into table view? Thanks you ! This is my code: ~~~ var doc = this.responseText.trim(); //have got 2000records doc =...

Title does not show on simple window

I have started a new app and I am unable to make a titlebar appear on my window. Do I need to use tab groups to get a title bar? I do not need tabs for this app. I am testing in iPhone simulator and see the same results across 3.2-4.2 ~~~ var indexWin =...

Hide Action Bar without Alloy

Hi, I'm using Titanium sdk 3.3 and Android sdk tools v.23. I have an old project that is _not_ made using Alloy. With this new configuration, when launching the app for android, Titanium add an Action Bar. Can you please have hints about how can I hide...

Help sorting JSON

Ok, I am banging my head against the wall trying to figure this out. I'm sure it's simple and I am just too close to see it. What did I miss? This is the JSON that is received: ~~~ { "content": [ { "item_id":...

Check for navigation bar

I am trying to check to see whether the android navigation bar is present on load so that I can adjust a layout accordingly, does anyone have any suggestions? This is the navigation bar I am trying to detect: http://i.stack.imgur.com/N63wE.png I know...

Array sort is not working

I am trying to sort an array ,but it looks that it is not working at all. ~~~ var arr = [ { distance: 1 }, { distance: 3 }, { distance: 7 }, { distance: 3 }, { distance: 5 }, { distance: 7 }, { distance: 3 }, { distance:...

scrollTo(x,y) in ScrollView.

Hi, I'm working on chatting application and I've to scroll the scrollview after every message. I'm stuck in a problem and tried different solutions but they didn't work. Problem is, obviously the height of my text message will not be same always, i used...

Titanium.Yahoo.yql not working on ios

Hi, I'm trying to use Yahoo yql on IOS but emulator and device crash, it is working on Android... this is my code ~~~ var theYql = 'SELECT * from yahoo.finance.xchange WHERE pair IN (' + currencies + ')'; //Ti.API.info("theYql " +...

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...

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...

iOS nav bar style and color

Can I set an iOS nav bar to a flat color and remove the iOS "shine" style/gradient? I can use a flat color image as the background, but is there another way to change the style? Thx

Copy / Paste Context Menu

Hello, i'm trying to figure out how to change the context menu language for copy / paste in iOS. Where can i change this? It's always english no matter which device language is set. Thanks!

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...

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 =...

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:...

Html-formatted text in Alloy app

My application loads data from server - terms of use for example. This data will have html formatting. What I mean by that is that users will type text in cms, in tinymce textarea, so it will have html tags. Can I show it to my users so that if something...

Incrementing Ti.App.Properties.setInt

Can someone give an example of how to increment Ti.App.Propertes.setInt? I would have thought it would have been fairly straightforward but it's not working like I expect. ~~~ Ti.App.Propertes.setInt('myCounter',...

Configuring app for different devices

I'm a new app developer and I've almost finished developing my first android app using Titanium. I optimised the app for my own phone - in other words I altered the positioning of buttons/images etc so they fit properly on my phone screen. I (rather...

open an option dialog on an "if"

i'm checking a database version to see whether a newer version is available and if so have an option dialog which allows the user to either say yes download or no cancel within a simple "if" eg: ~~~ if (offlineversion < aaa){ var dialog...

Failed to parse javascript

Application type: mobile CLI version 3.3.0, Titanium SDK version 3.2.3.GA Platform & version: iOS Device: iOS simulator I keep getting this error. Failed to parse /Users/stephenhanrahan/Dropbox/Titanium/the Practice App/Resources/userData.js [ERROR]...

Showing 1-50 of 15,429 1 2 3 4 5 6309