Try this: http://pastie.org/1035404">http://pastie.org/1035404
It contains the JS required for app.js and test.js - for a
The use case for this is for (example) a Twitter client, where
each tab is used for the list of tweets.
They all the use same functions based in app.js but with differnt
contexts and 'request_type' (eg: friends, mentions, favorites,
etc.) - The API requests and all the tableView building all uses
functions in app.js too.
It seems that Ti on Android does not support the Window focus
event which I use to see if the user has changed tab (and if it
needs to request more data etc) and also it seems that it also does
not support the ability for me to attach the name of the function
in app.js as a window property when I build it - which works fine
Hope this helps! ;)