1. #1
    Sencha User
    Join Date
    Jun 2013
    Posts
    14
    Vote Rating
    12
    NakedSword will become famous soon enough

      1  

    Default Unanswered: Sencha web app restarts

    Unanswered: Sencha web app restarts


    Hi,

    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.

    Help me.
    Thanks in advance

  2. #2
    Sencha - Support Team
    Join Date
    Oct 2011
    Posts
    3,936
    Answers
    328
    Vote Rating
    130
    fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all

      0  

    Default


    I came across thread on that same issue. Let me know if it helps
    http://www.sencha.com/forum/showthre...l=1#post622000

  3. #3
    Sencha User
    Join Date
    Jun 2013
    Posts
    14
    Vote Rating
    12
    NakedSword will become famous soon enough

      1  

    Default not .apk file

    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.

  4. #4
    Sencha User
    Join Date
    Feb 2012
    Location
    Germany
    Posts
    72
    Answers
    8
    Vote Rating
    2
    enno is on a distinguished road

      0  

    Default


    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.

  5. #5
    Sencha User
    Join Date
    Jun 2013
    Posts
    14
    Vote Rating
    12
    NakedSword will become famous soon enough

      1  

    Default


    I am sorry i didn't understand your solution can you please little elaborate it, so ican implement it.

  6. #6
    Sencha User
    Join Date
    Feb 2012
    Location
    Germany
    Posts
    72
    Answers
    8
    Vote Rating
    2
    enno is on a distinguished road

      0  

    Default


    Using a seperated URL is in the controller option the Routes here is the link to the guide:
    http://docs.sencha.com/touch/2.2.1/#...section-routes

    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