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.

无法使用New File Service API自动生成多个文件

From Wiki
Jump to: navigation, search
Article Metadata

兼容于
文章
huwell 在 21 Nov 2007 创建
最后由 hamishwillee 在 30 May 2013 编辑
  • 设备, 软件 版本:

S60 3rd Edition


  • 详细描述

S60第三版的New File Service API可以用来录制音频,视频以及捕捉图像。

这个API不是作为S60官方SDK发布的,但可以在这里找到Extensions plug-in package #1 for S60 3rd Edition SDK for Symbian OS, for C++, MR,注意Nokia不保证这些API的二进制兼容性。无论是平台版本之间或同一平台版本内。


下列就是New File Service Client(CNewFileServiceClient)函数:

    virtual TBool NewFileL( CDesCArray& aFileNames,
 
CAiwGenericParamList* aParams,
 
TNewServiceFileType aFileType,
 
TBool aMultipleFiles ) = 0;
 
virtual TBool NewFileL( TUid aApplicationUid,
 
CDesCArray& aFileNames,
 
CAiwGenericParamList* aParams,
 
TNewServiceFileType aFileType,
 
TBool aMultipleFiles ) = 0;

第四个参数为布尔值变量,用来指明handler application是否可以在一个请求中创建多个文件(例如捕捉多张图像)。

但这个功能目前尚未有任何handler application支持。


  • 解决方案

可以多次调用NewFileL函数以解决这个问题。

This page was last modified on 30 May 2013, at 04:42.
130 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.

×