1. Are you ready for the Galaxy S20? Here is everything we know so far!

Application class problem with Internet

Discussion in 'Android Apps & Games' started by pzoli89, Apr 19, 2012.

  1. pzoli89

    pzoli89 Lurker
    Thread Starter

    Hi all,

    I have a big problem,

    I created an Application class, to get some data, and to access it from every Intent. My problem is that to get the data I need internet connection.
    And if I don't have the app is crashing before the first intent is created, because the application class to load data it needs Internet.
    How can I resolve this in the Application class?

    Pls help me.

    Thank you
     



    1. Download the Forums for Android™ app!


      Download

       
  2. neo_the_one

    neo_the_one Member

    Welcome to android forums...
    Please Ask these questions in development forum area!
     
Loading...

Share This Page

Loading...