Community Questions & Answers
Having trouble opening nested windows
(I'm using Titanium 3.0, android 2.2 SDK, master/detail project) I've got my main screen (ApplicationWindow.js) opening new windows when a view is clicked using: ~~~ button1.addEventListener('click', function(e) { var Window =...
Accessing data in a nested JSON response
Im trying to access data that appears to be an object in an webservice call. The structure of the returned data has me stumped on how to actually pull the values out. Any help would be appreciated. The response information is formatted as such ~~~ {} JSON ...
Nested windows crashes Android apps
Just a heads up -- if you have one of those non-descript crashes of android (ie: throws no error in the Developer), check that you don't have any nested windows in your app. This example will crash Android (Titanium SDK 1.5.1 and APIs 2.2 &...
nested views with layout: 'vertical' fail to render them vertically
I'm using brand new Titanium SDK 2.0 (released on apr 17th), based on their suggestions at [Titanium 2.0 Layout Changes](https://wiki.appcelerator.org/display/guides/Titanium+2.0+Layout+Changes) I coded something similar to the following: ~~~ function...
TableView is cropped in vertical layout
Hi, I'm having a problem with tableViews not showing the last rows because they are outside the screen (see [image](http://dl.dropbox.com/u/22768006/layout_fill_issue.jpg)). The issue occurs when the tableView is nested inside a view which is placed after...
Nested XML Node issue
Hi All, I have a nested XML structure as follows: ~~~ <bookstore> <book> <title>Title 1</title> <year>2003</year> <author id="1">James McGovern</author> <author id="2">Per...
Nested XML query parsing issue/question
Hi All, I have a nested XML structure as follows: ~~~ <item> <title>Title 1</title> <item> <title>Title 1a</title> </item> </item> <item> <title>Title...
nested push animation can result in corrupted navigation bar
i havent seen any answers to this - is there workaround ? ie i have a tableview which depending on which row is clicked will open a different js file
Buttonbars click event listeners in tableviewrow event listeners ipad/phone
i have created tableview with multiple rows and added 2 tabbedbars(with 3 button objects) to each row. My problem here, when i click directly on the tabbedbar(buttons) on any one of row,for the first time tabbedbar's related event listener does not get...
parse error within nested objects
hi, i get a parse error in here ~~~ var myObject = { name: 'name', id: ID, probs = { color: 'red', bla: 'blubb' } } ~~~ without the "probs"-part is works fine. i don't want to put it all in...
Percentage Dimensions in nested views
I'm testing on Android and nested views don't seem to understand percentage dimensions. For example, when the code below installs on my device, viewInputs is not visible. ~~~ var win = Titanium.UI.createWindow(); win.backgroundColor =...
extracting data from complex json
I've noticed that most of the examples that show json data show very simple json. I'm trying to pull content from a more complex nested json file and can't seem to do it. Can anyone look at my example and point out where I am going...
Is nested JSON parsing supported?
Can I parse nested JSON on Android? I have a string like this and if I parse then it gives an exception while parsing. {"ACK_MSGID":0 ,"MESSAGES":"{"MSG_ID":1}"}..any pointers as how to evaluate this string will be...
Nested arrays
i Think there is a problem with nested arrays. Im using the following code, and im getting this red screen error on the iPhones simulator: ~~~ for(var i=0; i<=tagList.length; i++){ for(var j=0; j<=tagList[i].length; j++){ var text =...
Showing 1-14 of 14