Search Results

Search found 1 results on 1 pages for 'android007'.

Page 1/1 | 1 

  • How to update bytearray in C through JNI without returning a bytearray

    - by Android007
    Just wondering whether it is possible to update a ByteArray in C Code, which is created in Java, without returning it from C. I have situation, where I need to update a single bytearray for multiple times through JNI and returning bytearray from C takes lot of JNI calls. Please let me know if anybody knows how to do this? Code should be something like this Java Code byte[] storeData; updateFromNative(storeData); //update the byteArray in native code; //use the storeData in Java with updated value.

    Read the article

1