Android
Pages
Codes and Examples
How To Install Android
Android Interview Questions
Windows Shortcuts
Word shorcuts
Emulator Shortcuts
Saturday, January 26, 2013
Get image from sdcard and put in imageview
File imageFile2 =new File(Environment.getExternalStorageDirectory(),"/images/"+imagef2);
if(imageFile2!=null)
{
Bitmap bitmap2 = BitmapFactory.decodeFile(imageFile2.getAbsolutePath());
imageview.setImageBitmap(bitmap2);
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment