1. Check out our companion app, Forums for Android! Download from Google Play

Preventing Crashes when internet is not connected

Discussion in 'Application Development' started by thenovices, Oct 17, 2010.

  1. thenovices

    thenovices New Member
    Thread Starter
    5

    Oct 17, 2010
    2
    0
    5
    Hi everyone,

    Right now, my app crashes if you attempt to use the internet when there is no internet access available. What can I do to catch this exception and handle it appropriately?

    Thanks in advance!
    thenovices
     

    Advertisement

  2. mohitjaitly

    mohitjaitly Active Member
    15

    Oct 18, 2010
    34
    0
    15
    India
    you can check before hand if internet is available or not. Look here
     

Share This Page

Loading...