1. #1
    Sencha User
    Join Date
    Sep 2012
    Posts
    144
    Answers
    19
    Vote Rating
    0
    coletek is on a distinguished road

      0  

    Default Unanswered: How to kill a native sencha touch app!

    Unanswered: How to kill a native sencha touch app!


    Is there a way to "Force Stop" (aka kill) a native sencha touch for Android and/or iOS?

    It would be ideal if I could make a button on the app to do this.

    Best Regards,
    What comes around goes around

  2. #2
    Sencha - Services Team AndreaCammarata's Avatar
    Join Date
    Jun 2009
    Posts
    1,394
    Answers
    148
    Vote Rating
    22
    AndreaCammarata has a spectacular aura about AndreaCammarata has a spectacular aura about

      0  

    Default


    Nope, that's not possible.
    However, if it was, I would strongly suggest you to avoid that!
    Have you ever seen an iPhone / Android doing the same?

    Regards
    Sencha Inc
    Andrea Cammarata, Solutions Engineer
    CEO at SIMACS

    @AndreaCammarata
    www.andreacammarata.com
    github: https://github.com/AndreaCammarata

    TUX components bundle for Sencha Touch 2.x.x
    http://www.tux-components.com/


  3. #3
    Sencha User
    Join Date
    Sep 2012
    Posts
    144
    Answers
    19
    Vote Rating
    0
    coletek is on a distinguished road

      0  

    Default


    Bugger - Most apps do this. They have a "Quit" button in the menu.

    Currently if I get a console error the app freeze's and you need to "Force Stop".

    I get these console errors if I do a Ajax GET call when the phone is not connected to the internet - I've tried to resolve this issue by wrapping the Ajax call within the native API "if (Ext.device.Connection.isOnline()) {" - however that native API function doesn't work for me either - see http://www.sencha.com/forum/showthread.php?255777

    Any thoughts?
    What comes around goes around

  4. #4
    Sencha User
    Join Date
    Aug 2010
    Posts
    303
    Answers
    3
    Vote Rating
    3
    steve1964 is on a distinguished road

      0  

    Default


    Hi, with Sencha Native you cant, but you can with Phonegap, but only for Android::
    Code:
    navigator.app.exitApp();

Thread Participants: 2

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi