Android Emulator Device File Explorer

Asked 1 years ago, Updated 1 years ago, 98 views

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


android emulator device file explorer

2022-09-21 12:37

1 Answers

Right-click the Camera directory and press the synchronized menu


2022-09-21 12:37

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.