Namespaces
Variants
Actions
Revision as of 09:46, 16 August 2012 by hamishwillee (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

CCamera不支持直接画屏的取景器

Jump to: navigation, search
文章信息

兼容于
平台: S60 3rd Edition, S60 5th Edition

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

CCamera API的StartViewFinderDirectL方法并没有如预期一样正常工作。视频图像没有在屏幕上直接显示出来。

  • 如何重演

使用CCamera的NewL或New2L方法构造完成后,使用CCamera的CameraInfo API方法获取TCameraInfo数据。

TCameraInfo cameraInfo;
iCamera->CameraInfo(cameraInfo);
if (cameraInfo.iOptionsSupported &TCameraInfo::EViewFinderDirectSupported)
{//Direct Access is supported
}
else
{//Direct Access is not supported
}

某些机器宣称可以支持直接取景器,但是使用StartViewFinderDirectL方法却发现只有空白的取景器被显示。

  • 解决方案

这属于CCamera API目前的一个限制。直接访问屏幕的摄像头取景暂未对第三方程序开放。

116 page views in the last 30 days.
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved