Hi,

Thanks for your reply.

But can you please tell me how can I compile the third party opensource
library using NDK.

In my application am using an opensource library called Jpcap, which provide
RAR and .so files.
I' just need to call these APIs from my application. But in those APIs they
are trying to load a library Jpcap
i.e.
System.loadLibrary("jpcap")

at this place am getting a linking error :

* java.lang.UnsatisfiedLinkError: Cannot load library: link_image[1962]:
 32 could not load needed library 'libpcap.so.0.9' for 'libjpcap.so'
(load_library[1104]: Library 'libpcap.so.0.9' not found)*



Please help me to resolve this issue.


thanks & regards,
Vijay


On Tue, May 31, 2011 at 9:42 PM, Chris Stratton <[email protected]> wrote:

> On Tuesday, May 31, 2011 4:27:12 AM UTC-4, Viju wrote:
>
> I'm developing an application with an open source library (i.e.
>> jpcap).
>>
>
> You are unlikely to get this is to work even when you get the library
> ported, as android applications cannot readily gain the necessary access
> rights to the network interface.
>
> You will probably do better launching a stand alone executable as root, and
> capturing its output from java.  That's not officially supported, but it
> does work at the moment on rooted devices.
> And many devices seem to ship not only with a copy of tcpdump, but a copy
> that runs itself as root.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to