Yes I can see from all the replies that it is possible, but nothing that can easily be deployed. Since jNetPcap already supports linux, it would be just a matter of recompiling the libjnetpcap.so against a target processor (may be cross compiled). Everything else shouldn't need any code changes.
Cheers, mark... > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of > Michael Richardson > Sent: Saturday, February 06, 2010 1:17 PM > To: [email protected] > Subject: Re: [tcpdump-workers] Libpcap on mobile Android platform > > > >>>>> "Lee" == Lee Fisher <[email protected]> writes: > >>> 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. > > Lee> The Android SDK is for Java-based DalvkVM bytecode code. The > Lee> Android NDK, which came out months after the SDK, is > for native > Lee> C/C++ code, for unblocked devices. I think you'd need the NDK > > The NDK lets you build libfoo.so (the JNI piece). You can in > theory produce executables that run without an activity, but > there is no official way to actually package them. (i.e. I've > done a hack...) > > -- > ] He who is tired of Weird Al is tired of life! > | firewalls [ > ] Michael Richardson, Sandelman Software Works, Ottawa, ON > |net architect[ > ] [email protected] > http://www.sandelman.ottawa.on.ca/ |device driver[ > Kyoto Plus: watch the video > <http://www.youtube.com/watch?v=kzx1ycLXQSE> > then sign the petition. > - > This is the tcpdump-workers list. > Visit https://cod.sandelman.ca/ to unsubscribe. - This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.
