Meaningless Drivel is fun!*
The moose likes Android and the fly likes Traceroute Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "Traceroute" Watch "Traceroute" New topic
Author

Traceroute

Andy James
Ranch Hand

Joined: Aug 22, 2005
Posts: 90
Can I implement Traceroute in an Android application?
Piyush Patel
Ranch Hand

Joined: Feb 24, 2009
Posts: 127

trace route may require kernel level access. i think we dont have such deep level permission in android !
still but there is a hope , i found a command prompt in Android Emulator , where i can write commands like dir (list directory) etc..
you try out something ther
Monu Tripathi
Rancher

Joined: Oct 12, 2008
Posts: 1369
    
    1

Best and a little less time consuming way to find out feasibility of such an application would be to search for any existing application in the said domain and study it. If I remember correctly there was an application named "Server somthing" that had traceroute built in.


[List of FAQs] | [Android FAQ] | [Samuh Varta]
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15961
    
  19

I don't think that traceroute requires special kernel privileges. Traceroute works by polling a certain port on successively more distant links in the chain between source and destination machines.

You can find source code in the Linux and BSD Unix OS sources. It;s part of the network utilities apps.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Traceroute
 
Similar Threads
Traceroute in Java
What does cause Socket not getting response?
linux or windows
Web Service over LAN
calculating number of hops