Advertisement
Guest User

Untitled

a guest
Dec 19th, 2014
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.30 KB | None | 0 0
  1. ImageView imagem = (ImageView) findViewById(R.id.imagem);
  2.        
  3.         String s = Environment.getExternalStorageDirectory().getAbsolutePath() + "/App/0.jpg";
  4.        
  5.         Log.d("log", s);
  6.        
  7.         Bitmap bmp = BitmapFactory.decodeFile(s);
  8.        
  9.         imagem.setImageBitmap(bmp);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement