passing image from galery activity to main activity(canvas)

view full story

http://stackoverflow.com – i have a button on MainActivity that when i click it it open activity that show galery photo and when i clicked one of the photo list , i want to get path of this picture to MainActivity this is my code MainActivity case R.id.btn_tool_galery: enter Intent in=new Intent(this,ListViewImagesActivity.class); startActivityForResult(in, 2); break; @Override public void onActivityResult(int requestCode, int resultCode, Intent data) { switch (requestCode) { case 2: if (resultCode == Activity.RESULT_OK) { Bundle extras = getIntent().getExtras(); (HowTos)