1. #1
    Sencha User
    Join Date
    Mar 2010
    Posts
    484
    Answers
    12
    Vote Rating
    1
    abcdef is on a distinguished road

      0  

    Default Unanswered: ST + Phonegap

    Unanswered: ST + Phonegap


    Hello...I was wondering how to detect and stop launching a native app if the device isn't online?

    Please help! Thanks!

  2. #2
    Sencha User
    Join Date
    Jan 2012
    Location
    London, UK
    Posts
    502
    Answers
    25
    Vote Rating
    57
    shepsii is a jewel in the rough shepsii is a jewel in the rough shepsii is a jewel in the rough

      0  

    Default


    http://docs.phonegap.com/en/3.3.0/cordova_connection_connection.md.html#ConnectionA

    nice user-friendly message is required for iOS. So I wouldn't stop launching the app, but instead just launch to a different view explaining why the app hasn't loaded and perhaps giving them an option to attempt to re-connect.
    I blog about Sencha Touch at www.senchatouchdev.com

Thread Participants: 1