Native DirectBuffer allows you to create and work with memory outside of the Java heap, including memory-mapped files. This feature is a great way to work with large amounts of structured data. The example show how to Draw over 50
bitmaps and store them to the buffer and get them back later.
The library use jni "C" code compiled .so files to make the buffer outside of the Java heap.
Update ver. 1.10
the problem with BitmapcopyPixelsFromBuffer solved
couple more function added
Very easy to use, just extract the files from keylabBufferLibrary.zip
to your lib folder and open the attached example
bitmaps and store them to the buffer and get them back later.
The library use jni "C" code compiled .so files to make the buffer outside of the Java heap.
Update ver. 1.10
the problem with BitmapcopyPixelsFromBuffer solved
couple more function added
Very easy to use, just extract the files from keylabBufferLibrary.zip
to your lib folder and open the attached example
Attachments
Last edited: