Since you are going the root approach (don't know of any other way)
you could probably just compile tcpdump for the device, which has been
done successfully before, and then use the pcap files it produces.
That way the user can also easily examine the dumps in Wireshark or
similar programs. You need to use a separate process anyway since
Superuser.apk grants you permission to spawn a process as root, it
doesn't give your app root permissions.

On 3 Jan, 13:16, faraz ali <[email protected]> wrote:
> Hi All
> i am new to android development. how i can make an app which can sniff
> the packets on the network and how i can provide root permission to
> this app to run on android tablet.

-- 
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

Reply via email to