DDMS 未在 FroYo 上捕获相机预览

发布于 2024-10-03 01:22:03 字数 210 浏览 0 评论 0原文

我正在开发一个包含相机预览的应用程序,并且我的旧手机运行 1.6,我可以使用 DDMS 截取屏幕截图。在使用 FroYo 购买新手机并在同一台开发机器上更新到最新的 SDK 后,当我进行屏幕捕获时,相机预览层是黑色的。我在上面有一个覆盖层,效果很好。该应用程序在我的手机上运行良好,并按预期显示预览,只是没有显示在屏幕截图中。

我可以在调试输出中查找某些内容吗?这是其他人遇到的已知问题吗?

I was working on an app that included camera preview, and with my old phone running 1.6 I could take screenshots with DDMS. After getting a new phone with FroYo and updating to the latest SDK on the same dev machine, the camera preview layer is black when I do a screen capture. I have an overlay layer on top, and that shows just fine. The app runs fine on my phone and shows the preview as expected, it's just not showing up in screen caps.

Is there something I can look for in the debug output? Is this a known issue that others are experiencing?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文