Organizational Research By

Surprising Reserch Topic

send bitmap using intent android


send bitmap using intent android  using -'android,android-intent,bitmap'

I hava a Bitmap variable in Activity1 name is bmp, and i want to send it to Activity2 using this code :

Intent in1 = new Intent(this, Activity2.class);
in1.putExtra("image",bmp);
startActivity(in1);


And in Activity2 i call it like this :

Bundle ex = getIntent().getExtras();
Bitmap bmp2 = ex.getParceable("image");
ImageView result = (ImageView)findViewById(R.Id.imageView1);
result.setImageBitmap(bmp);


why when i run the program it just running and not give any result?? anyone can help me??
    
asked Sep 21, 2015 by thiru
0 votes
17 views



Related Hot Questions



Government Jobs Opening


...