Community Questions & Answers

if(aux===1) or if(aux==1) ??

Hi, I have problem with the condition of use "IF"... I added a global variable in alloy.js>> ~~~ var aux=0; ~~~ And in my index.js i did>> ~~~ loginReq.onload = function() { var json = this.responseText; var response =...

Locale and dates problem

Hi there, When I use: ~~~ new Date().toLocaleDateString(); ~~~ I always get date string formatted as if I was using english locale (Thursday, October 09, 2014), but when I check ~~~ Titanium.Locale.currentLocale ~~~ it says, "pl-PL" which is...

Setup custom photo slider

Hi, I would like to implement something like this http://oi58.tinypic.com/2nm0mxl.jpg I know I can get something close by using ios coverflow but I'd like something that can be used in Android too. I was thinking to finding a native web based javascript...

RSS Feed in a window

I'm a new app developer who's developing a basic tabbed Android application with JavaScript using Titanium. I'd like to include an RSS feed on one of the main tabs' window. I've done my best to try and have a go, but the app won't run and given I'm pretty...

Scroll Bar using Javascript

I'm a new app developer who's in the process of creating an Android application using Javascript. There's an image with text on it which doesn't fit on the whole window without the text being unreadable as it's squished. I would like to introduce a scroll...

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

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

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

Hyperlink text in Titanium

I'm pretty new to app development, and I'm creating a tabbed Android application. I'm trying to carry out what I suspect is a very simple task in hyperlinking some text. I would like to create a label such that when the text is clicked, the website opens...

JSON Looping

Hi I was looking for a hand. My code is getting undefined and I don't understand why. I'm trying to loop through all elements in obj then in recent then the columns and their content. I was trying to use the code below and I tried a few things from...

Showing 1-50 of 950 1 2 3 4 5 619