android reading an image from SD Card
问题 I'm trying to read an image from my SD Card and I'm not sure if I'm doing it right or not. Need some help please This is my code for reading it: String imageInSD = "/sdcard/Hanud/" + c.getString(1) + ".PNG"; Bitmap bitmap = BitmapFactory.decodeFile(imageInSD); ImageView myImageView = (ImageView)findViewById(R.id.imageview); myImageView.setImageBitmap(bitmap); And this is my main file: <?xml version="1.0" encoding="utf-8"?> <WebView xmlns:android="http://schemas.android.com/apk/res/android"