how can read data in image uri
- by satyamurthy
hi sir
i am implementing image upload then i got image uri how can read data in image uri
File Img = new File(selectedImage.getPath()+inFileType);
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();
this code implementing i got uri how can read data