this screen shot of my internal memory storage which i save image already.
i want to read image in image view. so how to get path of image or how can i read image from internal memory?
please help me..
i tried some code but its not working:-
FileInputStream fis;
String filePath = activity.getFilesDir().getPath();
String path = data.get(position).get("product_image");
fis = openFileInput(filePath+"/broccolicasserole.jpg");
Bitmap bitmapA = BitmapFactory.decodeStream(fis);
producticon.setImageBitmap(bitmapA);
image name is get from database like :-data.get(position).get("product_image");
also try this code also:-
> String filePath = activity.getFilesDir().getPath();
File filePath1 = imageLoader.DisplayImage(filePath+data.get(position).get("product_image"), producticon);