1. #1
    Sencha User
    Join Date
    Mar 2010
    Posts
    479
    Answers
    12
    Vote Rating
    0
    abcdef is an unknown quantity at this point

      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
    498
    Answers
    25
    Vote Rating
    51
    shepsii has a spectacular aura about shepsii has a spectacular aura about shepsii has a spectacular aura about

      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