Yeh even I tried checking whether their is a problem with my application, but even then the browser doesn't work. So there might be an issue with the network
On Apr 25, 6:29 am, ls02 <[email protected]> wrote: > On Apr 24, 3:15 am, Bob Kerns <[email protected]> wrote: > > > Things to look at: > > > 1) What DNS servers are used by the phones, vs the PC's you're > > comparing with? > > The same DNS server is used by both phones and PC/Macs as they are all > on the same corporate WiFi network. > > > > > 2) Do all the DNS servers on the list work equally well? > > Again, all clients (PCs/Macs/iTabs/various smarphones and other WiFi > devices) use the same WiFi network. > > > 3) Is the wifi connection flaky? This will often show up as DNS > > failures, since DNS lookups are typically the first bit of network > > activity an application does. > > I cannot speak for that. I have not heard about complains that people > cannot access any network resources over WiFi. > > > 4) Are the phones sometimes disconnecting from the WiFi network > > entirely, and going over the phone network instead? This would > > normally work OK, except be slower, but a DNS lookup in the middle of > > a switchover might fail. > > I don't thow this. We use regular HttpUrlConnection class for all > network calls on Android. I don't know if there are cases when the > call goes over 3G network. > > One thinbg I wan to stress that killing and then restarting the app > ussually clears this state and network calls start working again. > > > > > > > On Apr 23, 8:50 am, ls02 <[email protected]> wrote: > > > > I am not using emulator. I am using real Android phones and many types > > > of them. The problem happens both in debug mode and in real mode with > > > phone not connected to computer. > > > > On Apr 23, 11:45 am, Kumar Bibek <[email protected]> wrote: > > > > > This is an intermittent problem. Restarting the emulator would > > > > normally solve this. My best guess would be your abd server is not > > > > functioning properly. > > > > > Thanks and Regards, > > > > Kumar Bibek > > > > > On Apr 23, 7:42 pm, Sebastian <[email protected]> wrote: > > > > > > I have the same problem. Im running an app in the emulator or on my G1 > > > > > device and sometimes there is an UnknowHostException thrown. But if i > > > > > check if the host is available (for example over ping) then there is > > > > > no problem. > > > > > > The app is also working correctly, if I close the emular and/or > > > > > eclipse an restart the app. Then i works well again. > > > > > > On 23 Apr., 15:08, ls02 <[email protected]> wrote: > > > > > > > The app is running on different Android devices and all of them > > > > > > exhibit this issue. It has nothing to do with network as I said I > > > > > > can > > > > > > successfully excute the same network call on the same network from > > > > > > PC > > > > > > or Mac. > > > > > > > On Apr 23, 8:15 am, Kumar Bibek <[email protected]> wrote: > > > > > > > > Well, if it happens sometimes, then your network has a problem. > > > > > > > When > > > > > > > it happens, just to make sure that other apps also are affected by > > > > > > > this, just open some page on the browser. You will be then sure > > > > > > > that > > > > > > > this is not affecting your app only, but the emulator or the > > > > > > > network > > > > > > > has a problem. > > > > > > > > Thanks and Regards, > > > > > > > Kumar Bibek > > > > > > > > On Apr 23, 5:07 pm, ls02 <[email protected]> wrote: > > > > > > > > > From time to time I get java.net.UnknownHostException when > > > > > > > > calling > > > > > > > > HttpURLConnection.connect. Obviously the server does exist and > > > > > > > > I can > > > > > > > > successfully execute the same URL on my PC browser. The problem > > > > > > > > does > > > > > > > > not happen always, only sometimes. But if it does happen > > > > > > > > ussually I > > > > > > > > need to restart the app so that I can connect to server again. I > > > > > > > > specify host name not IP address, I cannot use IP address. > > > > > > > > > -- > > > > > > > > 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 > > > > > > > > athttp://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 > > > > > > > [email protected] > > > > > > > To unsubscribe from this group, send email to > > > > > > > [email protected] > > > > > > > For more options, visit this group > > > > > > > athttp://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 > > > > > > [email protected] > > > > > > To unsubscribe from this group, send email to > > > > > > [email protected] > > > > > > For more options, visit this group > > > > > > athttp://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 > > > > > [email protected] > > > > > To unsubscribe from this group, send email to > > > > > [email protected] > > > > > For more options, visit this group > > > > > athttp://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 [email protected] > > > > To unsubscribe from this group, send email to > > > > [email protected] > > > > For more options, visit this group > > > > athttp://groups.google.com/group/android-developers?hl=en-Hidequotedtext > > > > - > > > > > - Show quoted text - > > > > -- > > > 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 > > > athttp://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 [email protected] > > To unsubscribe from this group, send email to > > [email protected] > > For more options, visit this group > > athttp://groups.google.com/group/android-developers?hl=en-Hide quoted text - > > > - Show quoted text - > > -- > 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 > athttp://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 [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

