AndroidGalleryManagergetThumbnail Method |
Gets the thumbnail data as the byte array.
ByteBuffer byteBuffer = ByteBuffer.allocate(bitmap.getByteCount());bitmap.copyPixelsToBuffer(byteBuffer);return byteBuffer.array();Namespace: AndroidLocalGalleryPlugin
public byte[] getThumbnail( int id, int mediaType, int thumbSize )