Hi Mark and thank for your answer...
I know that it's not the first time that you answer to this type of
problem...

But my question wasn't not explain enough: I would like to open
directly file after the download and not force user to click on file
and click on "View or Open" entry.

Can you help me about this issue?

Regards

On 2 mai, 18:44, Mark Murphy <mmur...@commonsware.com> wrote:
> 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to