hi every one
how add intent filter code to my app?
<intent-filter>
<action android:name="android.intent.action.SEND" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="text/plain" />
</intent-filter>
链接已复制
I have had some success using the https://github.com/florentvaldelievre/virtualartifacts-webintent plugin to handle intents in my app.
You modify the virtualartifacts-webintent plugin.xml to set your intent filter and that gets inserted into your AndroidManifest.xml by the XDK when you build.You can then use the plugin method getExtra in your Device Ready function to get the URL of the file that is being shared with your app.
https://github.com/Alexandre-io/WebIntent/blob/19cf498d6731826df4534737be4b67a6251d1f00/plugin.xml
that is can solve that problem...
and intent is good working in intel-xdk cordova program..
<config-file target="AndroidManifest.xml" parent="/manifest/application/activity" mode="add">
<intent-filter>
.....
</intent-filter>
</config-file>
