Android ImageView set image from sdcard

sapan
Android set ImageView image from sdcard.

ImageView imageView = (ImageView)findViewById(R.id.imageView2);
File imageFile = new  File("/sdcard/a.jpg");
imageView.setImageBitmap(BitmapFactory.decodeFile(imageFile.getAbsolutePath()));



Post a Comment

0Comments
Post a Comment (0)

#buttons=(Accept !) #days=(20)

Our website uses cookies to enhance your experience. Learn More
Accept !