• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Load URL from remote server

aptgopal

Newbie
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
 
You can use this code to check if you have a connection:
Code:
ConnectivityManager cm = (ConnectivityManager)context.getSystemService(Context.CONNECTIVITY_SERVICE);
cm.getActiveNetworkInfo().isConnected()
 
Back
Top Bottom