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 <maximusm...@gmail.com> > 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 <tianlifeixue...@gmail.com> wrote: > > I want to analyse the network health > > > > On 7月29日, 上午10时00分, Nick Risaro <nris...@gmail.com> 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 <tianlifeixue...@gmail.com> > 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 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 > -- 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