Android ICS emulator camera

10,745

Solution 1

You need to make sure that your AVD has the camera enabled prior to starting the application. In Eclipse you browse to Window->AVD Manager and just add the camera hardware. While you're in here make sure you add some space to your SD card section as you'll need this to take photos.

Restart your app and you should be away.

Solution 2

I was having the same problem and solved it by decreasing Abstracted LCD Density in emulator edit options. In the hardware subsection Abstracted LCD Density must be having a higher value(in my case it was 240).So I decreased it to 160 and then the camera starts up with the emulator.

I was using WVGA800 which had a higher value for LCD Density so one can try changing the skin as well to get the desired result.

Solution 3

I had a similar problem; launching the Camera app always ends up with "Unfortunately, the camera has stopped". I was able to fix it by Home -> Menu -> Manage apps -> Camera -> Clear data. I think the camera wanted to start the front-facing camera, but my laptop has only 1 camera, so perhaps that was the issue. But Gallery always crashes, and clearing Camera data doesn't seem to help. __ sol

Share:
10,745
Peter Winer
Author by

Peter Winer

Updated on June 01, 2022

Comments

  • Peter Winer
    Peter Winer almost 2 years

    I am trying to get a look at the Gallery application in ICS, using the emulator.

    So, I launch an AVD and snap a couple of pictures with the Camera then launch the Gallery. When I click any collection in the Gallery, I get an error, "Unfortunately, the camera has stopped". The Gallery application quits.

    I've tried this on Mac and Windows. Same thing. Anyone know how to make this work?