On Tuesday, May 31, 2011 4:27:12 AM UTC-4, Viju wrote:

I'm developing an application with an open source library (i.e. 
> jpcap). 
>

You are unlikely to get this is to work even when you get the library 
ported, as android applications cannot readily gain the necessary access 
rights to the network interface.

You will probably do better launching a stand alone executable as root, and 
capturing its output from java.  That's not officially supported, but it 
does work at the moment on rooted devices.  
And many devices seem to ship not only with a copy of tcpdump, but a copy 
that runs itself as root.

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

Reply via email to