You are using an emulator. There is something called Device File Explorer that allows you to upload files to the emulator.
What I want is to put the picture in the camera folder of DCIM and check it in the emulator (as you can see above, it is a file that has been put in ayo~bc4). But if you look at the picture below,
There are no files inserted as shown, only pictures taken directly by the emulator exist.
What should I do to see the picture I put in?
The code below is the code when opening the gallery. (Multiple image selection)
Intent intent=new Intent(Intent.ACTION_PICK);
intent.setType(MediaStore.Images.Media.CONTENT_TYPE);
intent.putExtra(Intent.EXTRA_ALLOW_MULTIPLE, true);
startActivityForResult(Intent.createChooser(intent,"Select Picture"), PICK_IMAGE_MULTIPLE);
Right-click the Camera directory and press the synchronized menu
© 2024 OneMinuteCode. All rights reserved.