Hello Mark
I'm searching for a port of jNetPcap for Android devices but I don't think it exists yet. Despite libpcap is actually included in the tree, there isn't a simple, straightforward way in the SDK of accessing the data, so I think it'd be a great achievement for everybody to get your library running on Android.
So far, I've been surfing the internet and found you were also looking for that some months ago as I could understand by reading a discussion in the android-ndk mailing list. I'd be very interested in working on this too and thought you may know the way to accomplish this.
As far as I know all that's needed is cross-compiling the jni part of the project against an arm target to obtain a libjnetpcap.so that runs on Android. Then one could include the jar in the project and use the API *almost* transparently from the app. At this moment I'm trying to create an Android.mk and and a config.h for the library as explained in http://warpedtimes.wordpress.com/2010/02/03/building-open-source-librari..., but I haven't succeeded so far (working on that).
My question is: Did you do some deeper research on this? If so, could you point me in the right direction to get the same result? If you don't, what do you think it'd be the best way to get this done?
Many thanks in advance.
--Alex