Guest User

Untitled

a guest
Nov 15th, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. String filePath = mediaCursor.getString(mediaCursor.getColumnIndex(MediaStore.Images.Thumbnails.DATA));
  2.  
  3. File file = new File(filePath);
  4.  
  5. Bitmap myBitmap = BitmapFactory.decodeFile(file.getAbsolutePath());
  6. bitmapArray.add(myBitmap);
Add Comment
Please, Sign In to add comment