No, it's optional.

On Tue, Jul 14, 2009 at 6:00 AM, krr_android <[email protected]> wrote:

>
> Hi,
>
> Is it mandatory to provide this method inisde any .so library?
>
> JNIEXPORT jint JNICALL
> JNI_OnLoad (JavaVM * vm, void * reserved)
> {
>    return JNI_VERSION_1_6;
> }
>
> Because, I dont see this inside any of the source files of the natice
> samples provided in the NDK. Then, how does it work there?
>
> Pls clarify the necessity of this function. Thanks in advance.
>
> Regards,
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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