I have the same problem and on my phones, it seems to be related to the absence of a SIM card on the phone. I am using two development phones, without SIM cards in them. On these phones, I have "No route to host" exception. I then put SIM cards in the phones, and the problem disappeared. I am still not completely sure that this was the cause, and was not able to find any information on the web. Can anyone confirm?
Cheers, Olivier On Jan 7, 12:07 am, Kenn Min Chong <[email protected]> wrote: > Hey guys! > So, this is very frustrating. I already have > > <uses-permission android:name="android.permission.INTERNET"></uses- > permission> > > in my manifest, but when my application tries to make a webservice > call (I'm using a HttpURLConnection object to do this via connect() > method), I'm getting an exception of "No route to host". > > The built-in Browser application is able to access the internet > properly, so I'm guessing it's something in my project. Any ideas? > > Kenn. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

