Go Back   Android Forums > Android Development > Application Development
Application Development Dev lounge for our application developers.

New Forums: Nexus Player | Nexus 9
test: Reply
 
LinkBack Thread Tools
Old December 7th, 2010, 11:12 AM   #1 (permalink)
Junior Member
Thread Author (OP)
 
Join Date: Dec 2010
Posts: 22
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Post Load URL from remote server

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

Advertisements
aptgopal is offline  
Reply With Quote
sponsored links
Old December 7th, 2010, 02:04 PM   #2 (permalink)
Member
 
Join Date: Aug 2010
Location: Norway
Posts: 313
 
Device(s): Samsung Galaxy Nexus
Carrier: Not Provided

Thanks: 0
Thanked 53 Times in 51 Posts
Default

You can use this code to check if you have a connection:
Code:
ConnectivityManager cm = (ConnectivityManager)context.getSystemService(Context.CONNECTIVITY_SERVICE);
cm.getActiveNetworkInfo().isConnected()
miXer is offline  
Reply With Quote
Reply
Tags
android, url, webview


Go Back   Android Forums > Android Development > Application Development
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 04:26 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.