Community Questions & Answers

Android Distribution Hangs

I just created the basic Alloy project, and changed the Text on the main view from Hello World to Hello World Titanium. I then right click on the project and publish -> Distribute Android App Store. The problem is, in the bottom progress window, the...

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

Android tab bar on bottom

I'd like to put the tab bar on Android on the bottom instead of on the top. I know this isn't best practice, but the UX part is out of this questions scope. I've got a file, `titanium_tabgroup.xml`, that I've saved in...

Ti-mocha

How to use Ti-mocha into my project ?

Android Responsive Design

I've been working on an android application on Titanium lately and i've come upon an issue. What i'm struggling with is making a specific view responsive. I want to show like 15-20 buttons on a view but i don't want it to be scrollable. Now if i use...

Appcelerator licensing

I have explored other hybrid framework such as Sencha, Ionic, etc. I want to try out Appcelerator, but have read much about licensing confusion. I saw those post were quite old, and want to know the status now. Other framework's website pricing is clearly...

Get data from webpage

Hello everyone, ive made a small piece of code in titanium to get data from a webpage. But when i run the application and press the button that will trigger the function it doesn't show the data. Can someone explain to me what i am doeing wrong, and why...

Basic navigation

Hi all, I'm a newbie here and maybe this is a basic question but i looked around and i can find an answer, maybe you can help me. I'm developing a Mobile application for ios and Android using Alloy (v 3.3.0). The basic structure is like this: ![alt...

textField support for RTL

Whether the textField is aligned to left or right using textAlign property in Android, Arabic script cannot be selected using touch gestures, nor position the cursor to edit. I know that since Android 4.2 there is a support for full RTL experience. Is...

No android sdk found error

Hi, I am trying to configure android sdk into titanium studiod, but i m getting this error everytime. [Android SDK Home] No Android SDKs were found under the specified SDK location I m using mac OS - 10.8.5, titanium sdk - 3.3.0. I tried setting the...

How to get soft keyboard height in ios?

I'm writing an app. On android I can make views change position when soft keyboard show/hide, as window auto change size when keyboard show/hide. But I cann't find a solution on ios. Can anyone help me ?

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

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

Showing 1-50 of 63,102 1 2 3 4 5 61263