[android-developers] internet connection

2012-02-25 Thread Jagruti Sangani
I am using the sip demo from the 
http://developer.android.com/resources/samples/SipDemo/index.html.i
ru the proeject on emulator successfully but when i run this project
on Android mobile Galaxy Y 2.3.6 then on registration not occure and
manager will come null.In this mobile internet connection,voip and sip
supported.So now how can i run my application on galaxy Y 2.3.6.plz
reply

-- 
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 group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Internet connection

2012-02-11 Thread Doron Shalev
Hey guys.
Does anyone knows a way to sense when an Internet connection is
established or disconnected?
I mean another way then to check every few moments.

Thanks

-- 
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 group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Internet connection

2012-02-11 Thread Kristopher Micinski
You mean the Wifi?  Look in WifiManager, there's a broadcast intent.

kris

On Thu, Feb 9, 2012 at 3:24 AM, Doron Shalev dorons...@gmail.com wrote:
 Hey guys.
 Does anyone knows a way to sense when an Internet connection is
 established or disconnected?
 I mean another way then to check every few moments.

 Thanks

 --
 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 group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
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 group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] internet connection problem using emulator. can you help??

2011-04-08 Thread jay

Hi

We have an issue when Android emulator runs for several hours or
sometimes even when we star it up, the internet connection is breaks
and does not come back on the emulator.   In the server running the
internet the internet is fine.


In the log, there is two sorts of exception for internet Connction.

org.apache.http.client.ClientProtocolException

java.net.UnknownHostException:Unable to resolve host abc.xyz.com.au
no address associated with host name


After these exception, I also couldn't connection internet with chrome
browser of android.

The program runs several hours, then exception happened.

Does anyone know what might be wrong or how we can fix?

-- 
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 group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


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

2010-09-14 Thread viral
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 entries in log window.

Android emulator 2.2:
ERROR/ActivityThread(269): Failed to find provider info for
com.google.settings
onReceivedError -7 
http://www.google.com/m?client=ms-android-googlesource=android-home
The server failed to communicate. Try again later.

Android emulator 2.1:
ERROR/ActivityThread(114): Failed to find provider info for
android.server.checkin
WARN/Checkin(114): Can't update stat PHONE_GPRS_ATTEMPTED:
java.lang.IllegalArgumentException: Unknown URL 
content://android.server.checkin/stats
ERROR/ActivityThread(114): Failed to find provider info for
android.server.checkin
WARN/Checkin(114): Can't update stat PHONE_GPRS_CONNECTED:
java.lang.IllegalArgumentException: Unknown URL 
content://android.server.checkin/stats

ERROR/ActivityThread(229): Failed to find provider info for
com.google.settings
onReceivedError -7 
http://www.google.com/m?client=ms-android-googlesource=android-home
The server failed to communicate. Try again later.

Android emulator 1.6:
ERROR/ActivityThread(122): Failed to find provider info for
android.server.checkin
WARN/Checkin(122): Can't update stat PHONE_GSM_REGISTERED:
java.lang.IllegalArgumentException: Unknown URL 
content://android.server.checkin/stats

ERROR/ActivityThread(122): Failed to find provider info for
android.server.checkin
WARN/Checkin(122): Can't update stat PHONE_GPRS_ATTEMPTED:
java.lang.IllegalArgumentException: Unknown URL 
content://android.server.checkin/stats
ERROR/ActivityThread(122): Failed to find provider info for
android.server.checkin
WARN/Checkin(122): Can't update stat PHONE_GPRS_CONNECTED:
java.lang.IllegalArgumentException: Unknown URL 
content://android.server.checkin/stats

ERROR/ActivityThread(302): Failed to find provider info for
com.google.settings
WARN/ActivityManager(77): Unable to start service Intent
{ cmp=com.google.android.googleapps/.GoogleLoginService }: not found
ERROR/browser(302): onReceivedError -7 
http://www.google.com/m?client=ms-android-google
The server failed to communicate. Try again later.

Android emulator 1.5:
ERROR/ActivityThread(640): Failed to find provider info for
android.server.checkin
WARN/Checkin(640): Can't update stat PHONE_GSM_REGISTERED:
java.lang.IllegalArgumentException: Unknown URL 
content://android.server.checkin/stats

ERROR/ActivityThread(640): Failed to find provider info for
android.server.checkin
WARN/Checkin(640): Can't update stat PHONE_GPRS_ATTEMPTED:
java.lang.IllegalArgumentException: Unknown URL 
content://android.server.checkin/stats
ERROR/ActivityThread(640): Failed to find provider info for
android.server.checkin
WARN/Checkin(640): Can't update stat PHONE_GPRS_CONNECTED:
java.lang.IllegalArgumentException: Unknown URL 
content://android.server.checkin/stats

ERROR/ActivityThread(846): Failed to find provider info for
com.google.settings
ERROR/browser(846): onReceivedError -7 http://www.google.com/m?client=ms-null
The server failed to communicate. Try again later.

Please let me know if any one has having any solution for this issue

Thanks in advance

Regards,
Viral

-- 
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 group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


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

2010-08-20 Thread tarek attia
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)
 {
  NetworkInfo allNetworkInfo = conManager.getActiveNetworkInfo();
  NetworkInfo currNetworkInfo;
  boolean anythingConnected = false;
for (int i = 0; i  allNetworkInfo.length; i++)
{
   currNetworkInfo = allNetworkInfo[i];

   if (currNetworkInfo.getState() == NetworkInfo.State.CONNECTED)
{
   anythingConnected=true;
}

}

 return anythingConnected;
 }

However this code runs well when I connected to either the operator internet
Or to a Wi-fi network .

But when I'm connected to the operator but without credit and no internet
the mobile also sees it as there's internet,or even connected to a Wi-fi
network but without internet gateway it also sees as if it's connected to
the internet

Any Idea how can ensure that I'm connected to the internet ??

-- 

tarek

-- 
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 group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] internet connection in emulator

2010-05-05 Thread Jags
Hi all,
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 websites dont come up, like google.com.. my
organisations' internal web pages come up properly though.


What could be the problem ?

Jags

-- 
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 group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Internet Connection

2010-01-27 Thread Sasikumar.S
Hi,

How to find whether internet connection is working or not in android
emulator?...

I'm doing one RSS Program.
When internet connection is not enable the RSS feed is not fetching the data
and it is showing error.
So if internet connection is not enable i need to display a alert that
Internet Connection Not Enabled

How to do this?...

-- 
Thanks  Regards
Sasikumar.S

-- 
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 group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Internet connection

2009-01-18 Thread petunio

Hi

I am writing an application that involves downloading and uploading
data over the net

I am using the Jakarta library to do that, but my problem is how to
know when the connection is down. Right now I am assuming that the
connection is always ok, so when is not and I'm trying to download/
uploading something, the programs hangs forever

any ideas?
Thanks
--~--~-~--~~~---~--~~
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 group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---