I am developing an android application in Titanium which will be used a customized home app. The application works fine the first time but if one presses home again (i.e relaunches the application) it freezes.
If the application is not set as home and is launched repeatedly from the application list, it works fine.
My app.js has only the following lines
I tried putting an alert here and it does show up when I press Home again.
Any pointers would be very helpful.
Try to put this in tiapp.xml. Not sure it will help though.
<property name="ti.android.bug2373.finishfalseroot" type="bool">true</property>
Thanks, This property is probably to resolve the 2373 android bug. This doesn't help in this scenario.
I am creating a single window as you can see in the code above and changing the currentwindow for all other screens. I have been suggested that it might be causing this issue. The suggested method is to create a new window at all stages . Will try and post an update,
Think you can help? Login to answer this question!