Pre Exam Test Practice (SSC | Banking | IAS | GATE | State Level | CLAT | Railways | Insurance | Teaching Exams | NDA | Defence | IES |State Exam )

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);

And in Activity2 i call it like this :

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

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

Related Hot Questions

Government Jobs Opening