[android-developers] Re: Internet connection

2012-02-11 Thread Jonathan S
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

Re: [android-developers] Re: Internet connection is not working in emulator

2010-10-04 Thread Viral Brahmbhatt
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

[android-developers] Re: Internet connection is not working in emulator

2010-09-24 Thread Viral Brahmbhatt
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

[android-developers] Re: Internet connection is not working in emulator

2010-09-24 Thread DanH
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

Re: [android-developers] Re: Internet connection is not working in emulator

2010-09-24 Thread Viral Brahmbhatt
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

Re: [android-developers] Re: Internet Connection Bug Or Error ??

2010-08-25 Thread tarek attia
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

Re: [android-developers] Re: Internet Connection Bug Or Error ??

2010-08-21 Thread Kostya Vasilyev
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

[android-developers] Re: Internet Connection Bug Or Error ??

2010-08-20 Thread tarek attia
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) {

Re: [android-developers] Re: Internet Connection Bug Or Error ??

2010-08-20 Thread Mark Murphy
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

Re: [android-developers] Re: Internet Connection Bug Or Error ??

2010-08-20 Thread Miguel Morales
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

[android-developers] Re: Internet Connection Bug Or Error ??

2010-08-20 Thread DanH
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,

Re: [android-developers] Re: Internet Connection Bug Or Error ??

2010-08-20 Thread tarek attia
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

Re: [android-developers] Re: Internet Connection Bug Or Error ??

2010-08-20 Thread tarek attia
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

Re: [android-developers] Re: Internet Connection Bug Or Error ??

2010-08-20 Thread Mark Murphy
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. --

Re: [android-developers] Re: Internet Connection Bug Or Error ??

2010-08-20 Thread Miguel Morales
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

Re: [android-developers] Re: Internet Connection Bug Or Error ??

2010-08-20 Thread tarek attia
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

[android-developers] Re: internet connection in emulator

2010-05-05 Thread prachi
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

[android-developers] Re: internet connection in emulator

2010-05-05 Thread Thilo-Alexander Ginkel
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

[android-developers] Re: Internet Connection

2010-01-28 Thread Chander Pechetty
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

Re: [android-developers] Re: Internet Connection

2010-01-28 Thread Sasikumar.S
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,

[android-developers] Re: Internet Connection

2010-01-28 Thread Retrodis
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

Re: [android-developers] Re: Internet Connection

2010-01-28 Thread Sasikumar.S
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

[android-developers] Re: Internet Connection

2010-01-27 Thread alligator
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){

Re: [android-developers] Re: Internet Connection

2010-01-27 Thread Sasikumar.S
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)

Re: [android-developers] Re: Internet Connection

2010-01-27 Thread Sasikumar.S
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

[android-developers] Re: Internet connection

2009-01-19 Thread android_soft
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