tcpdump mailing list archives

Libpcap on mobile Android platform


From: "Mark Bednarczyk" <voytechs () yahoo com>
Date: Fri, 5 Feb 2010 06:36:52 -0500

I found a port of libpcap to Android (
<http://github.com/android/platform_external_libpcap>
http://github.com/android/platform_external_libpcap). Android is linux
underneath but java as the main application API. I am trying to figure out
if my java wrapper http://jnetpcap.com <http://jnetpcap.com/>  can be
extended for that platform. Android does support JNI (java to native
interface) so its possible to link it with native libpcap on android based
device (i.e. smart phones). So I have a few questions.
 
What is the status of libpcap on that platform in general? 
 
Is it actively maintained?
 
Can libpcap library be distributed as part of an android application package
or does it need special android build to be installed? 
 
If no special build is required what is the minimum Android SDK API and I
would assume that atleast a generic or common ARM processor type support is
provided?
 
Anything missing from libpcap API because of android limitations?
 
I have been writting some Android applications recently and I have a real
development phone to work with. If we can get libpcap library on the
platform, it certainly looks possible that we can get the java end up and
running with jnetpcap.
 
 
Cheers,
mark....
 
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: