开发者

Android 2.1 camera preview error

I have a problem with using the camera of an Android 2.1 phone (HTC Desire), maybe you can help me. After calling camera.open() DDMS in Eclipse shows the following errors:

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

Test view in the emulator works fine, but on my phone only a po开发者_运维问答pup is shown where I only can close the application.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜