Possible Duplicate:
Show Image View from file path in android?
here image path is stored as string i want convert the string to image and need to view the image in emulator how is this possible? please tell me
thanks
Possible Duplicate:
Show Image View from file path in android?
here image path is stored as string i want convert the string to image and need to view the image in emulator how is this possible? please tell me
thanks
This answer might help. From that answer:
File imgFile = new File(“/sdcard/Images/test_image.jpg”); if(imgFile.exists()){ Bitmap myBitmap = BitmapFactory.decodeFile(imgFile); ImageView myImage = (ImageView) findViewById(R.id.imageviewTest); myImage.setImageBitmap(myBitmap); }