how do I install the traceroute functionality from busybox programmatically

£可爱£侵袭症+ 提交于 2019-12-08 03:08:25

问题


I am currently working on implementing traceroute functionality in android and for that I need some help.

I aksed question on this on SO.

And in answer user of suggested me to do following :

The busybox utility includes traceroute. You can run busybox on your device without rooting your phone by following this youtube tutorial. You should then be able to use the first code segment you posted to query traceroute from within your app. Of course, you will need to make sure that you use the correct path when calling traceroute.

Now you will think why I am asking same again but I watched video and coudnt understand how to make it work in my application as If I want to make app like this how can I install busybox apk in user's device.

So please show me some code so that I can understand it.

来源:https://stackoverflow.com/questions/15827492/how-do-i-install-the-traceroute-functionality-from-busybox-programmatically

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!