Hi, i have Android Application using 1.9.0 with V8 (Testing on Samsung Galaxy ACE android 2.2.3).
When i close the application (android back button), seams that it doesn't exit immediately.
It's not appearing in task manager, but if i try to open it, it crashes.
I need to wait about 10-20 sec beetween two application starts.
The same issue with KitchenSink or new Mobile Project (creating it with one of titanium template).
Someone else has the same problem?
Any solutions?
Thanks....
4 Answers
I'm not sure if its the "right" solution, but works for me when I intercept the android:back event and issue;-
var activity = Titanium.Android.currentActivity; activity.finish();
Same issue here with nightly build 1.8.2.
This issue doesn't exist in "Feb 2 2012 10:31 rcacde6be" but in "Feb 14 2012 16:31 r43d708c2".
So, it has to be caused by one change from this merge/commit https://github.com/appcelerator/titanium_mobile/commit/43d708c2e6c315ae747fe9e6d9aad2fc070ec120
Can reproduce this with KitchenSink and with my app on my Samsung Galaxy S2
It's fixed in master. Haven't tested 1_8_x but I think it's fixed there too.
I can reproduce it even with 2.1.0GA. I have to postpone publishing my app because of this stupid issue. Until now the only way I found to bypass this crashing on relaunch is build with Rhino, although Rhino is slower than V8 very much
Your Answer
Think you can help? Login to answer this question!