tcpdump mailing list archives

Re: Libpcap on mobile Android platform


From: Lee Fisher <blibbet () gmail com>
Date: Fri, 05 Feb 2010 12:35:28 -0800

>> If no special build is required what is the minimum Android SDK API
>
> Again, not being an Android developer, I don't know the answer to
> that question.

The Android SDK is for Java-based DalvkVM bytecode code. The Android NDK, which came out months after the SDK, is for native C/C++ code, for unblocked devices. I think you'd need the NDK to use libpcap on Android. You might need to provide some Binder IPC bindings or write AIDL to use it at the SDK level.

http://developer.android.com/sdk/ndk/1.5_r1/index.html#overview
http://groups.google.com/group/android-ndk

http://developer.android.com/reference/android/os/Binder.html
http://developer.android.com/guide/developing/tools/aidl.html

HTH.

-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: