Besides, the ICMP protocol is not supported in the emulator, so ping will never work, even if you're root.
2011/8/25 Luiz Carvalho <[email protected]> > You need root permissions for run ping... > use this: http://forum.xda-developers.com/showthread.php?t=682828 > > > On Jul 28, 11:27 pm, nanhu <[email protected]> wrote: > > I want to analyse the network health > > > > On 7月29日, 上午10时00分, Nick Risaro <[email protected]> wrote: > > > > > > > > > > > > > > > > > I think that making a simple HttpRequest for a file in the server is a > best > > > solution, I'm assuming you want to do a health check. > > > > > On Thu, Jul 28, 2011 at 10:53 PM, nanhu <[email protected]> > wrote: > > > > our program need topinga host repeatly > > -- > 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 > -- 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

