Community Questions & Answers

Choosen value in picker results in Null.

Hi, I want to store the chosen value of a picker in a small sqlite database later. But when I try to receive the value, it results in Null. It would be even better if I could receive the `custom_item` value but at the moment I can't receive anything. I...

Simple memory question

I have a problem with memory leaks in Titanium. The reason for this is of course because I don't remove all references to the same object so it doesn't get deleted by the garbage collector. However, when I started explicitly setting variables to null I...

Annotations JSON

Guys, my request is work, is getting the right latitude and longitude but unfortunately is creating the annotation before getting the right values, so it comes as null. What can I do to make the annotation wait? thanks ~~~ var xhr =...

isValidRow is NULL ?

~~~ // Setup Superglobal var HS = { dbCurrentVersion: Titanium.App.Properties.getInt('DBVER'), db: {} }; /* .... .... */ // Setup Database Shortcut: HS.db = Titanium.Database.open('main'); ~~~ Now I know that HS.db.execute works for me. If it...

Geolocation at startup app

Hi, I'm not getting any coordinates when i start my app. But when i click the button for refresh, it shows the coordinates..... I have the following code in top of my function. It shows null on first run, after that it shows the lurl. Help...

What is wrong here???

Can anybody tell me why this dont work and make a : Session did end with error (null) code: var winMainmenu = Titanium.UI.createWindow({ title:'Tab 1', backgroundColor:'#fff', backgroundImage:'background.png' }); var startHeader =...

xhr null value

I am getting null value for `xhr.open('POST','http://www.inetwebdesign.com.au/email.php');` and `xhr.send(data);` and i dont know why or how to fix it **my first code was ** ~~~ // // // RSVP response via HTTP POST to php script on server // var...

XHR null response

HI, I'm sending a JSON request to a Drupal web service that normally works via javascript in the browser. Yet when I use Titanium on the iPhone I receive a null response. I've pointed my iPhone/Titanium request to a small script that intercepts my POST...

HTTPClient returning

Oops. title was supposed to be... HTTPClient returning NULL Hey all: All of a sudden I started receiving this error when receiving data via HTTPClient. If I call the xml file on the server it doesnt work but if it I call it locally I get the data as...

Showing 1-33 of 33