I am making a program that takes a picture and then shows its thumbnail. When using the emulator, everything goes well, and the reset button deletes the photo. But on a real device, the purpose of the camera saves the image in the imageUri variable, and the second - as if I just opened the camera and took the picture myself.
private static final int CAMERA_PIC_REQUEST = 1337; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.camera);
android android-camera android-camera-intent
Kyle Ramstad Dec 23 2018-10-12T00: 00Z
source share