App exits on hide on Android

6 posts, 0 answers
  1. Ryan
    Ryan avatar
    43 posts
    Member since:
    Mar 2012

    Posted 05 Feb 2014 Link to this post

    I remember seeing this happen when I first started working with Icenium last summer, and somehow either I fixed it or it just kinda fixed itself..but now it's back with the latest release of Graphite or AppBuilder or whatever the heck it's called now

    Basically if I'm using my app on Android, and switch to the Home screen or some other app, when I come back to my app it restarts at the login/index.html view???

    Any idea how I can fix this? not a very useful app if I can't multitask with it
  2. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 06 Feb 2014 Link to this post

    Hello Ryan,

    I was not able to reproduce this with our Kendo UI Mobile template, upon returning to the app, I was back on the same view where I left off. According to the Android activity lifecycle, in order to get the behavior you observe, one should basically exit the app (onStop()) and subsequent start of the app would go through onStart() i.e. from the beginning.

    Regards,
    Steve
    Telerik
    Icenium is now Telerik AppBuilder, and is part of the Telerik Platform. For more information on the new name, and to learn more about the Platform, register for the free online keynote and webinar on Wednesday, February 12, 2014 at 11:00 a.m. ET (8:00 a.m. PT)
  3. Ryan
    Ryan avatar
    43 posts
    Member since:
    Mar 2012

    Posted 06 Feb 2014 in reply to Steve Link to this post

    so I blew away my project, created a brand new one with all the old code and it's still doing it.  Can you take a look at the project and see if it does it on your end??  I've only tried this one one android device so far.

    account login is ryanday@sweatlogs.com
  4. Lyubomir
    Admin
    Lyubomir avatar
    4 posts

    Posted 11 Feb 2014 Link to this post

    Hello Ryan,

    I've built your application and tested it with Android Nexus S and Nexus 5 devices. I opened 'forgot user name' screen and then switched to another app, and then returned to this app and the screen was unchanged as expected.



    Can you provide specific steps to reproduce this issue, which screen do you open, what buttons do you press? Do you use it only on Android?





    Regards,

    Lyubomir
    Telerik
    Icenium is now Telerik AppBuilder, and is part of the Telerik Platform. For more information on the new name, and to learn more about the Platform, register for the free online keynote and webinar on Wednesday, February 12, 2014 at 11:00 a.m. ET (8:00 a.m. PT)
  5. Ryan
    Ryan avatar
    43 posts
    Member since:
    Mar 2012

    Posted 14 Feb 2014 in reply to Lyubomir Link to this post

    I dunno what happened but it just kind of fixed itself??? *shrugs shoulders*  I don't think I really changed any settings on my end that I know of but who knows :(
  6. Iva Koevska
    Admin
    Iva Koevska avatar
    286 posts

    Posted 17 Feb 2014 Link to this post

    Hi Ryan,

    Glad to hear things got sorted out. Should you encounter this issue again, let us know.

    Regards,
    Iva Koevska
    Telerik
    Icenium is now Telerik AppBuilder, and is part of the Telerik Platform. For more information on the new name, and to learn more about the Platform, register for the free online keynote and webinar on Wednesday, February 12, 2014 at 11:00 a.m. ET (8:00 a.m. PT)
Back to Top