arnouf wrote:
> I would like to a mimetype to Android Web browser, to allow opening my
> application when a certain mime type file is downloaded by the web
> browser.
> 
> Apparently, only media file's mime type can be supported by the web
> browser. Is it right?

No.

> How can I do it?

AFAIK, all you need to do is implement an appropriate intent-filter on
your activity.

http://developer.android.com/guide/samples/NotePad/AndroidManifest.html

In the above example, the MIME type is one unique to Notepad
(vnd.android.cursor.item/vnd.google.note) and unlikely to be seen on the
Web. In your case, you would use the actual MIME type you wish to handle.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android App Developer Training: http://commonsware.com/training.html

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to