how to retrieve data in image uri in sd card to read data in byte convertion

Posted by narasimha on Stack Overflow See other posts from Stack Overflow or by narasimha
Published on 2010-04-07T04:39:21Z Indexed on 2010/04/07 4:43 UTC
Read the original article Hit count: 292

Filed under:

hi sir

i am implementing upload image click upload button then select into sdcard images i am getting uri File Img = new File(selectedImage.getPath()); System.out.println("2............."+Img); FileInputStream is = null; try { is = new FileInputStream(Img); is.read(buffer); BufferedInputStream bis = new BufferedInputStream(is); Bitmap bm = BitmapFactory.decodeStream(is); bis.close(); is.close(); i got in image uri how can retrieve data in particular image uri in image path above code Img i am new in android then some suggition give me some reply

© Stack Overflow or respective owner

Related posts about android