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 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 option is for you to simply try some operation on whatever > server you are trying to reach. For example, download a small graphic > from the Web site if you are trying to access that site's Web service. > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com | http://github.com/commonsguy > http://commonsware.com/blog | http://twitter.com/commonsguy > > _The Busy Coder's Guide to Android Development_ Version 3.1 Available! > > -- > 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 -- http://developingthedream.blogspot.com/, http://diastrofunk.com, http://www.youtube.com/user/revoltingx, ~Isaiah 55:8-9 -- 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