CAMERA REQUEST:

agosto 17, 2018 doido 2.0 0 Comments

} private static final int CAMERA_REQUEST =123;
public void onActivityResult(int requestCode, int resultCode, Intent data) { if (requestCode ==
CAMERA_REQUEST && resultCode == Activity.RESULT_OK) { Bitmap photo = (Bitmap)
data.getExtras().get("data"); imageview1.setImageBitmap(photo); }

0 Comments: