I would like to handle a certain mimetype as it comes down.
Unfortunately, it's not happening and the Browser still thinks the
content is not supported on the phone.
A log in LogCat says: DownloadManager: No handler found for
application/xyz
Can some of you wise developers spot what is wrong with my intent-
filter, below? Is there too much there? Too little? Additional steps
needed?
<activity android:name=".ImportActivity"
android:label="@string/import_activity_name">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<action android:name="android.intent.action.EDIT" />
<action android:name="android.intent.action.PICK" />
<category
android:name="android.intent.category.DEFAULT" />
<category
android:name="android.intent.category.BROWSABLE"/>
<data android:scheme="http" android:host="*"
android:mimeType="application/xyz" />
<data android:scheme="file" android:pathPattern=".*\
\.xyz"/>
<data android:scheme="content" android:pathPattern=".*\
\.xyz"/>
<data android:scheme="content" android:host="*"
android:mimeType="application/xyz"/>
</intent-filter>
</activity>
Nathan
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en