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

      0  

    Default 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
    527
    Vote Rating
    87
    Answers
    25
    shepsii is just really nice shepsii is just really nice shepsii is just really nice shepsii is just really nice

      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