Thursday, July 5, 2012

Re: [android-developers] Call the functions of *.SO from JAVA

using java native interface,we can call the function in c or c++.

On Thu, Jul 5, 2012 at 12:12 PM, HideCheck <hidecheck@gmail.com> wrote:
Hi chainz

#put .so file.

eclipse project/libs/armeabi/xxx.so

#add code

    private native void [method name](args..);


    static {
        System.loadLibrary("so file name");
    }

Best Regards,

2012/7/5 chainz roid <sangilikumar.muniyandi@marudham.co.in>:
> Hi everyone
>
>            I'm working in ICS and I'm developing own android device. Well i
> have vcfsclint.so file its contains more functions.(Ex. EnrollUser,
> IdentifUser etc,..) I want to call this functions from my java application.
>
>           Regarding this where i have to add this .SO file and how can i
> call those function from my java application any one can suggest me.?
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscribe@googlegroups.com
> 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment