This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Feb 18th, 2013  |  syntax: None  |  size: 0.27 KB  |  views: 21  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. @Override
  2.     public boolean onTouchEvent(MotionEvent event) {
  3.       // TODO Auto-generated method stub
  4.       return super.onTouchEvent(event);
  5.        
  6. ImageView imageView = (ImageView) findViewById(R.id.imageView1);
  7.        
  8. imageView.setImageBitmap(BitmapFactory.decodeFile(string));
clone this paste RAW Paste Data