6

I create an emulator with 2000MB SD Card size and push files to it as you can see in image but i can't see these image files in gallery application in emulator. how can i see the images in gallery application? link of file to see my emulator and files that pushed to it!

Niklas
  • 13,005
  • 23
  • 79
  • 119
fire boy
  • 163
  • 2
  • 11

3 Answers3

9

As I found in two other SO questions 1 and 2, Make sure to run MediaScanner from dev tools after you push the images to the SD card so the emulator re-scans the SD card for new media.

Community
  • 1
  • 1
Peter
  • 5,071
  • 24
  • 79
  • 115
2

Running media scanner is simple, all you have to do is

  • Run your android virtual device on the emulator
  • Click on the "Dev Tools" icon in the menu
  • In the list view of settings options, scroll down, click, and launch "Media Scanner"

Goto, windows -> AVD Manager and click Refresh. Now on the emulator, if you click the gallery icon, you get the pictures that you pushed onto your SDCard

I82Much
  • 26,901
  • 13
  • 88
  • 119
0

If the "Dev Tool" --> "Media Scanner" crash you can run this:

adb shell am broadcast -a android.intent.action.BOOT_COMPLETED

it is faster then a reboot

Nifhel
  • 2,013
  • 2
  • 26
  • 39