1. Download the #1 Android News App:   EarlyBird - News for Android
    Dismiss Notice

Load URL from remote server

Last Updated:

  1. aptgopal

    aptgopal Member


    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

  2. miXer

    miXer Well-Known Member

    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