28 Aug 2011 11:19 PM #1
Unanswered: Restart Sencha Touch Application
I want to restart sencha application programmatically on button click.
Is there any way to do this?
29 Aug 2011 5:02 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
Yes you can but you have to do it manually... rerender what you needs.... reset things that you set throughout your app... or just redirect to the same url (not optimal)Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services firstname.lastname@example.org
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
29 Aug 2011 11:12 PM #3
Restart Sencha Touch Application
How i can restart sencha tuoch application through js code on button click.
13 Sep 2011 4:23 AM #4
Restart Sencha Application
You can use
window.location.href = 'your starting page';
3 Apr 2012 11:47 PM #5
I've tried to add some random string to the link to make it think it's a new url but it also didn't work - it seems that maybe the launch function doesn't run again. I also tried to add a 'no-cache' meta tag.
The redirect is done like this:
It would have been nice if there was a "restart" function
3 Sep 2013 7:07 AM #6
have you found a way to restart the app??
I would like to capture those errors and restart the app, is there any way to do that?