聆客开放平台

# openFile

打开文件:如office文件,apk等,将调用系统的程序来打开文件。

# 输入

继承标准对象输入,扩展属性描述

名称 数据类型 必填 默认值 描述
filePath string 文件地址
mime string mime类型

# 输出

继承标准对象输出,无扩展属性

# 示例代码

app.openFile("file:///mnt/sdcard/bingotouch.docx","docx",function(res){
     app.hint("打开成功!");
 });