Sencha Touch 2.x Forums /
Sencha Touch 2.x: Q&A /
Unanswered: Sencha web app restarts
I am creating an web app from sencha(not ipa or apk file). There's a problem app restarts every and then when orientation changes. How can i solve this problem.
Thanks in advance
I came across thread on that same issue. Let me know if it helps
not .apk file
As i said in my question
, I am not building an .apk or ipa file just an web app that solution is applicable if and only if you are building .apk(android) file. Any help.
Sounds like Android the thing there is, if you change the orientation, a new Layout will be loaded and the Browser started again in the background.
You have to save the state where the user is yourself or you can make shure to use for every step an extra URL because the Browser reads the last url and shows them to the user.
I am sorry i didn't understand your solution can you please little elaborate it, so ican implement it.
Using a seperated URL is in the controller option the Routes here is the link to the guide:
For saving the state in the Browser you can check the localstorage (but iam not safe, there was lot of trouble with mobile Browser).
Like user is in a state of looking the impressum and push the views. That the user thinks nothing happened.
Thread Participants: 2
Tags for this Thread