Load URL from remote server

Discussion in 'Application Development' started by aptgopal, Dec 7, 2010.

  1. aptgopal

    aptgopal Member
    15

    Dec 7, 2010
    22
    0
    15
    Hi

    Please any one help me to load the URL from my remote server
    Also check my internet connection it is available means load the web view in the run time not in design time the internet connection not available means don't load the web view
    please any one help me with code

    Thanks in Advance
     

    Advertisement
  2. miXer

    miXer Well-Known Member
    53

    Aug 12, 2010
    313
    51
    53
    Norway
    You can use this code to check if you have a connection:
    Code (Text):
    1. ConnectivityManager cm = (ConnectivityManager)context.getSystemService(Context.CONNECTIVITY_SERVICE);
    2. cm.getActiveNetworkInfo().isConnected()
     

Share This Page

Loading...