tcpdump mailing list archives

Re: Libpcap on mobile Android platform


From: "Mark Bednarczyk" <voytechs () yahoo com>
Date: Sat, 6 Feb 2010 19:51:07 -0500

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: tcpdump-workers-owner () lists tcpdump org
[mailto:tcpdump-workers-owner () lists tcpdump org] On Behalf Of
Michael Richardson
Sent: Saturday, February 06, 2010 1:17 PM
To: tcpdump-workers () lists tcpdump org
Subject: Re: [tcpdump-workers] Libpcap on mobile Android platform


"Lee" == Lee Fisher <blibbet () gmail com> 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[
] mcr () sandelman ottawa on ca
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.


Current thread: