- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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>
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Instead of doing that, why don't you try using the "Create and Launch an Email" plugin in the featured list, or the SocialSharing plugin, also in the featured plugin list.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
very thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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>
![](/skins/images/EA93FC3209B97CF1A77FC045C5DDA88A/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page