安卓ICS模拟器摄像头模拟器、摄像头、ICS

2023-09-06 13:36:51 作者:你陪他聊天却忘了我也寂寞

我想一睹在ICS Gallery应用程序,使用模拟器。

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

所以,我发起AVD和抓拍几张照片与相机然后启动画廊。当我点击画廊任何集合,我得到一个错误,不幸的是,相机已停止。 Gallery应用程序退出。

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.

我在Mac和Windows尝试这个。一样。任何人都知道如何使这项工作?

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

推荐答案

您需要确保您的AVD有前启动应用程序启用了摄像头。在Eclipse中浏览到窗口 - > AVD管理器,只需添加摄像头硬件。当你在这里一定要添加一些空间到你的SD卡部分,你将需要用它来拍照。

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.