Namespaces

Variants
Actions

Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

Archived:当Nokia N85后台播放视频时,将无法使用摄像头

From Wiki
Jump to: navigation, search

Archived.png存档: 这篇文章是存档,因为考虑到今天它与第三方开发者建立商业解决方案不相关。

Article Metadata

兼容于
平台: S60 3rd Edition FP2
S60 3rd Edition FP2

文章
翻译:
hoolee
最后由 hamishwillee 在 27 Aug 2012 编辑
  • 详细描述

Camera API解决方案 CS000904 - Capturing an image 无法在Nokia N85上同时使用视频播放时使用。


  • 如何重演
    1. 在Nokia N85上的开启一个程序通过Camera API来捕捉图片;
    2. 然后调用下列方法捕捉图片
      virtual void FrameBufferReady(MFrameBuffer* aFrameBuffer,TInt aError);
      这是MCameraObserver接口的方法,它将一直监控直到aError为KErrNone值。
    3. 让程序在后台运行,然后到多媒体文件夹,选择一个视频文件播放。这时程序的FrameBufferReady方法将得到aError = KErrInUse(-14),获得这个错误后,此方法将不再被调用。

同样,启动视频播放程序后再调用摄像头,视频程序将会停止。


  • 解决方案

现在暂无方法可以防止这样互相干扰的问题发生。只有当视频程序运行到前台才能继续摄像捕捉。

This page was last modified on 27 August 2012, at 02:22.
302 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×