How send the byteArray from Native C to my Android app
<p>I am developing a Native application name test.c  and I want to return the arrayofByte from the native C file ,I able to compile and the .so file is generate when i run my Application</p>

<pre><code>    05-08 13:04:08.477: D/dalvikvm(945): No JNI_OnLoad found in /data/data/com.ssg.nativelibtest/lib/libnativelibtest.so 0x45f3da78, skipping init  
</code></pre>

<p>getting this message with out any crash in my application so how to resolve the calling of Nativefile.
for the reference I am giveing my test.c file
this is file written in C I am calling the .so file Java appliaction</p>

<pre><code>jbyteArray Java_com_ssg_nativelibtest_MainActivity_getEncryptionKey(JNIEnv * env, jobject obj)
{

    unsigned char ukey[] = { 'H','A','R','D','C','O','D','E','D',' ','K','E','Y','1','2','3'};
    int lengthOfArray = (*env)-&gt;GetArrayLength(env, ukey);
    //jsize lengthOfArray =(*env)-&gt;GetArrayLength(env, ukey);
    jbyteArray byteKey = (*env)-&gt;NewByteArray(env, lengthOfArray);
    (*env)-&gt;SetByteArrayRegion(env, byteKey, 0, lengthOfArray, (jbyte *)ukey);
    return byteKey;
}
</code></pre>
