1. Download our Official Android App: Forums for Android!

Apps Preventing Crashes when internet is not connected

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

  1. thenovices

    thenovices Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    2
    Joined:
    Oct 17, 2010

    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 Member
    Rank:
    None
    Points:
    15
    Posts:
    34
    Joined:
    Oct 18, 2010

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

Share This Page

Loading...