I want to make an app, when i press on a certain button i want to open the cam then capture the image and after i capture it.
I want to open this image in a new activity, putting this image in this new activity in addition to two buttons one to delete it and the other one to save it in a certain directory of the tablet.
i use the code to open the cam:
Open_CAM.setOnClickListener(new View.OnClickListener() {
public void onClick(View v) {
Intent cameraIntent = new Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE);
startActivityForResult(cameraIntent, CAMERA_REQUEST);
I don’t know what can i do after that?
Any help please…
After you got bitmap in onActivityResult you can send that bitmap to another activity through intent.