Community Questions & Answers

modules extend

Hi there I have a stupid question about the modules. First I show the code. ~~~ exports.first = function(args) { //code } exports.second = function(args) { //code } ~~~ It is possible to pass data from one module to another? Hope it's not so stupid...

Hide ActionBar on 3.3.0

After going from 3.2.2 to 3.3.0, I can't get the ActionBar to hide on Android. Previously, it was working flawlessly as a full screen, no actionbar application. Per http://docs.appcelerator.com/titanium/latest/#!/guide/Android_Action_Bar and a lot of...

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

Show index in Android tableview

I’m currently developing an `iOS` and `Android` cross platform application. In that I want to show a `TableView` with some data and also I need to show the index. For that I used the following code: ~~~ var win = Ti.UI.createWindow({ ...

Android Disable Auto-focus on TextField

Hi, My problem is whenever there is a textField in the window, Android will automatic select and focus on the first one. I had found many suggestion on this but no matter how i do it, Android will always focus on one of the textField even after i call...

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

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

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

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

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

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

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

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

Grid, empty Mapview in android 2.3

Hi all, I've been trying to work days but no way. The fact is that there is no way to display a mapview on a smartphone with android 2.3 but if it works well on android 4 and above. __I only see the grid and zoom controls on adroid 2.3.__ I have...

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

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

Showing 1-50 of 15,973 1 2 3 4 5 6320