Error with using Camera on Android 2.1

All your problems with Audio, Video and Images.

Error with using Camera on Android 2.1

Postby watcher » Fri Sep 03, 2010 5:50 am

Hi, I am trying to get my camera app running on my HTC Desire (Android 2.1)
The emulator works fine, but when I try the app on my phone it only shows an error when the camera opens.

I checked the DDMS LogCat an the following error message appears when the camera call its open() function:

Code: Select all
ERROR/MediaPlayerService(662):   error: -2
ERROR/MediaPlayer(662): Unable to to create media player
ERROR/CameraService(662): Failed to load CameraService sounds.

I already tried to create an additonal media recorder and set audio and video sources, but no change at all :(

Has anyone a hint for me to get rid of this prob?

Cheers Toby
Once Poster
Once Poster
Posts: 1
Joined: Fri Sep 03, 2010 5:40 am


Re: Error with using Camera on Android 2.1

Postby mapiko » Fri Sep 03, 2010 9:52 am

can u please post code here?
Senior Developer
Senior Developer
Posts: 106
Joined: Sat May 15, 2010 5:19 pm


Return to Multimedia Problems

Who is online

Users browsing this forum: No registered users and 8 guests