Quantcast
Channel: Appcelerator Developer Center Q&A Tag Feed (fail)
Viewing all articles
Browse latest Browse all 21

Titanium Alloy app works - ONLY SOMETIMES - on Android

$
0
0

I have an app based on the Titanium Alloy project available in "studio". It is fairly simple. It has one screen with a form and two buttons. a "save" button and a "debug" button. on save, the form's information is stored on filesystem in json format and shown in an alert dialog. On "debug", I start a new controller that shows a new view that has 3 buttons. all buttons show some kind of system information in alert dialogs. This is supposed to be a prototype eval for the titanium framework itself. ALL OF THIS WORKS ONCE. however, if i touch the back button and the app exits and then i start app again by touching the launcher icon, it shows me the titanium splash screen and nothing else. the app does not start. there are no error messages or stack traces at the ERROR level in the logs except for this:

[ERROR][TiApplication( 660)] (KrollRuntimeThread) [0,1095] APP PROXY: ti.modules.titanium.app.AppModule@405d5608

Even if I use the task manager to kill my apps and try to start, it does not start. What do I need to do to make this work? Would you guys like to see the code? It is very simple (or so I think).

PLEASE HELP!

Should i refactor the app to not use Alloy and instead use plain jane javascript? I like the alloy mvc concept and the potential of using backbone.js.

Thanks! I appreciate it!


Viewing all articles
Browse latest Browse all 21

Trending Articles