[android-developers] Re: Handling Network Unavailability

2009-10-07 Thread lilbyrdie
I think the question you're asking is simple: When network is lost, the SDK doesn't detect this and thinks it's valid still. Thus, it still tries to use it. But, since it's not there, nothing happens. How can this be resolved? If that's your question, I share that question. On Sep 16, 11:38 

[android-developers] Re: Handling Network Unavailability

2009-10-07 Thread Roman ( T-Mobile USA)
Android supports some intents about network connection change. In your onReceive method listen for this network connection changes and check connectivity with NetworkInfo networkInfo = connection.getActiveNetworkInfo(); (at least this works for me when for example the app loses

[android-developers] Re: Handling Network Unavailability

2009-09-16 Thread Mike Collins
When we did a major project for Android it took a while for it to sink in that network unavailability is normal. You have to flip your thinking from a wired world. My experience is that network availability on the Android phone is well enough tracked that you can get the job done. mike