https://developer.android.com/training/monitoring-device-state/connectivity-monitoring.html
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this
Anyone having any solutions I am still not able to crack this
On Sat, Sep 25, 2010 at 3:19 AM, Viral Brahmbhatt viralbrahmbh...@gmail.com
wrote:
Hi,
I am using Win XP, and i have wireless internet connection on my laptop.
there is no proxy
On Sat, Sep 25, 2010 at 2:44 AM, DanH
Hi,
can any one please help me on this?
On Mon, Sep 13, 2010 at 11:31 AM, viral viralbrahmbh...@gmail.com wrote:
Hi,
I am not able to run the internet from my android emulator. whenever I
try to run my browser i am getting following error on various
platforms
Following are some of the
Here are a few ideas:
http://stackoverflow.com/questions/2039964/how-to-connect-android-emulator-to-the-internet
Would help to know what OS you're running, whether hard-wired or
wireless, whether you're using a proxy, etc.
On Sep 13, 1:01 am, viral viralbrahmbh...@gmail.com wrote:
Hi,
I am
Hi,
I am using Win XP, and i have wireless internet connection on my laptop.
there is no proxy
On Sat, Sep 25, 2010 at 2:44 AM, DanH danhi...@ieee.org wrote:
Here are a few ideas:
http://stackoverflow.com/questions/2039964/how-to-connect-android-emulator-to-the-internet
Would help to know
On Sat, Aug 21, 2010 at 1:33 AM, tarek attia tarek.m.at...@gmail.comwrote:
On Sat, Aug 21, 2010 at 1:43 AM, Miguel Morales
therevolti...@gmail.comwrote:
Did you not read my reply? Try pinging an ip that's always up like
4.2.2.2 or similar.
So you'll need a few levels of checks, first
Besides, network connectivity can become unavailable at any time, like
in the middle of your download.
So checking to see if it's available at some point in time is no
substitute for error handling in networking code.
-- Kostya
21.08.2010 1:43, Mark Murphy пишет:
On Fri, Aug 20, 2010 at
Any Idea???
On Fri, Aug 20, 2010 at 10:33 PM, tarek attia tarek.m.at...@gmail.comwrote:
Hi all,
In my application I must use the internet connection ,so I check it first
before I open an URL connection using this :-
public boolean IsConnectedToNetwork(ConnectivityManager conManager)
{
On Fri, Aug 20, 2010 at 4:50 PM, tarek attia tarek.m.at...@gmail.com wrote:
Any Idea???
One idea is for you to have patience and not expect immediate
responses to your emails.
You can try requestRouteToHost(), but I've seen some reports to
suggest that it does not work very well.
The best
This is a problem for all kinds of software. Including PC software.
It is not something unique to Android.
The only solution I can think of is try to ping or reach an ip that is
always up.
On Fri, Aug 20, 2010 at 2:43 PM, Mark Murphy mmur...@commonsware.com wrote:
On Fri, Aug 20, 2010 at 4:50
First you have to define connected to the internet. You might be
connected to the local router, eg, but it might not have a route out.
You might even have a connection to a large network (eg, a
university), but not be able to get past some firewall to the rest of
the world.
On Aug 20, 2:33 pm,
On Sat, Aug 21, 2010 at 1:25 AM, DanH danhi...@ieee.org wrote:
First you have to define connected to the internet. You might be
connected to the local router, eg, but it might not have a route out.
You might even have a connection to a large network (eg, a
university), but not be able to get
On Sat, Aug 21, 2010 at 12:43 AM, Mark Murphy mmur...@commonsware.comwrote:
On Fri, Aug 20, 2010 at 4:50 PM, tarek attia tarek.m.at...@gmail.com
wrote:
Any Idea???
One idea is for you to have patience and not expect immediate
responses to your emails.
Sorry for this,but I have been with
On Fri, Aug 20, 2010 at 6:38 PM, tarek attia tarek.m.at...@gmail.com wrote:
What if this server is down at this time!!!
Then you cannot communicate to it.
I want to show the reason of
the disability either the no internet connection or the server is down ??
Then try a second server.
--
Did you not read my reply? Try pinging an ip that's always up like
4.2.2.2 or similar.
So you'll need a few levels of checks, first the normal check you're
doing now. And then an internet reachability test to test if you can
reach the internet.
This isn't a bug in android, or some sort of
On Sat, Aug 21, 2010 at 1:43 AM, Miguel Morales therevolti...@gmail.comwrote:
Did you not read my reply? Try pinging an ip that's always up like
4.2.2.2 or similar.
So you'll need a few levels of checks, first the normal check you're
doing now. And then an internet reachability test to test
Hi Jags
the reason could be that may be your organisation has blocked the
internet sites and moreover definitely ur emulator will show the
internal sites bcozz all ur systems might be connected through LAN to
get the internal sites web pages but to open internet sites u need to
have internet
On May 5, 11:25 am, Jags jag...@gmail.com wrote:
I am trying to access internet through android emulator.
I followed instructions from
http://developer.android.com/guide/developing/tools/emulator.html#proxy
and supplied same ip and port that i am using in my IE browser.
Still public
use ConnectivityManager and probably add the permission -
ACCESS_NETWORK_STATE to manifest file
On Jan 28, 12:31 pm, Sasikumar.S sasikumar.it1...@gmail.com wrote:
Thank You for ur reply Jian,
I will check it and tell to you.
On Thu, Jan 28, 2010 at 12:55 PM, Jian Chen
Thank u for ur reply.
On Thu, Jan 28, 2010 at 3:15 PM, Chander Pechetty cspeche...@gmail.comwrote:
use ConnectivityManager and probably add the permission -
ACCESS_NETWORK_STATE to manifest file
On Jan 28, 12:31 pm, Sasikumar.S sasikumar.it1...@gmail.com wrote:
Thank You for ur reply Jian,
ConnectivityManager cm = (ConnectivityManager) this.getSystemService
(Context.CONNECTIVITY_SERVICE);
NetworkInfo ni = cm.getActiveNetworkInfo();
if(ni != null) {
}
On Jan 28, 9:46 am, Sasikumar.S sasikumar.it1...@gmail.com wrote:
Thank u for ur reply.
On Thu, Jan 28, 2010 at 3:15 PM, Chander
ok.. Thank U
On Thu, Jan 28, 2010 at 3:37 PM, Retrodis mattwoodfi...@googlemail.comwrote:
ConnectivityManager cm = (ConnectivityManager) this.getSystemService
(Context.CONNECTIVITY_SERVICE);
NetworkInfo ni = cm.getActiveNetworkInfo();
if(ni != null) {
}
On Jan 28, 9:46 am, Sasikumar.S
I think an alertdiaglog can do it.
Dialog dialog=new AlertDialog.Builder(this)
.setTitle(about)
.setMessage(author:ddd\n)
.setPositiveButton(OK, new DialogInterface.OnClickListener()
{
public void onClick(DialogInterface dialog, int whichButton){
Hi alligator,
Thank u for ur reply.
I know how to create a alert dialog..
I need how to check whether internet connection is enabled or not?..
2010/1/28 alligator ustcchenj...@gmail.com
I think an alertdiaglog can do it.
Dialog dialog=new AlertDialog.Builder(this)
Thank You for ur reply Jian,
I will check it and tell to you.
On Thu, Jan 28, 2010 at 12:55 PM, Jian Chen ustcchenj...@gmail.com wrote:
ah, then let us come to the question how to check internet connection is
not enabled or not.
Hope that below code will help.
@Override
public void
and I hope you are doing the Download/Upload in a Service/Thread
-Chander
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
26 matches
Mail list logo