Javascript 如何使用我的cordova应用程序打开文件
我正在使用打开通过Dropbox或收件箱发送到我的应用程序的文件 我在清单中添加了以下内容:Javascript 如何使用我的cordova应用程序打开文件,javascript,android,cordova,android-intent,webintents,Javascript,Android,Cordova,Android Intent,Webintents,我正在使用打开通过Dropbox或收件箱发送到我的应用程序的文件 我在清单中添加了以下内容: <intent-filter> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.DEFAULT" /> <data android:mimeType="*/*" /> &l
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="*/*" />
<data android:pathPattern="*.json" />
</intent-filter>
我从cordova.js第1097行得到一个错误。消息是F09 WebIntent1422948397 sError
错误的含义是什么?我应该如何进一步排除故障
此外,欢迎提供有关我在Dropbox中单击“打开方式”或将收件箱中的附件共享到其他应用程序时所发生情况的文档链接
window.plugins.webintent.getExtra(window.plugins.webintent.ACTION_VIEW,
function(extra) {debugger}, function() {debugger}
);