Search code examples
androidandroid-emulatorandroid-cameraandroid-activity

insert SD card before using the camera Alert . android emulator?


what i'm trying to do is: to open the camera and save the taken picture in the SD card, but when the camera activity start, i receive an automatic generated warning displayed in a "toast" and says: "insert SD card before using the camera "

note: I'm using the emulator.

any idea how to solve this?

enter image description here


Solution

  • When you create an AVD it's possible to say whether to emulate SDCard or not (and of what size). Looks like you simply did not specify the SDCard presence. Edit your AVD settings and make sure you have explicitly requested for SDCard support.