I have been working with Sencha Touch SDK and Tools (2.0.1 rc) hoping to see few improvements on native packaging.
Question I have is
Given I have an Sencha Touch 2 Application which uses routers and on navigation from one view to another view (the url changes from http://xyz.com/#home to http://xyz.com/#places ). Now if I package this application as android native application and launch it on Android Phone. And now If I navigate from say home view to places views and I hit native back button on android, What would happen today
1. Would my application stay there and I can see a navigation say back to home view?
2. Would my application close and I see the previous application/home screen of android?
I am trying this out, my conclusion is coming to the 2nd part, which I am pretty disappointed with. In case point 2 is how things work, then I will back to use PhoneGap underneath my Sencha Touch App.
Any answers or hints are welcome.
For people who will ask for a sample app, I am attaching Source-Code.zip (I removed resources and sdk folder) for you to try out. Let me know what am I doing wrong here. I am using ICS phone (Samsung Nexus S).
I am not able to get the back button in android working for android native apps, despite using routes