I'm not sure about the exact browser-side mechanisms at that specific
level (I really only know the download side of things, but not how
things get there). If nobody else comments, you might be able to get
an answer in the source code.

JBQ

On Thu, Nov 6, 2008 at 8:59 AM, Peli <[EMAIL PROTECTED]> wrote:
>
> Is there a possibility to catch a generic "application/xml"? It seems
> this is displayed in the browser in raw format, and it does not try
> the ACTION_VIEW.
>
> Our application would like to handle rss feeds, which should have the
> mime type "application/rss+xml", and which we can catch through an
> intent receiver. Unfortunately, most websites simply use the mime type
> "application/xml" for rss feeds, which will not be forwarded to our
> application, but will be displayed in the browser.
>
> Is there a way to catch "application/xml" MIME types by third party
> developers?
>
> Peli
>
> On Nov 6, 2:46 pm, Jean-Baptiste Queru <[EMAIL PROTECTED]> wrote:
>> The browser will invoke the download manager when navigating to a MIME
>> type that is not natively supported (or when using the appropriate
>> content-disposition, of when choosing "save link"). The download
>> manager will download any file whose MIME type is supported for
>> ACTION_VIEW by any installed application. That partially takes care of
>> your 3rd question (though you can't make it happen inline in the
>> browser).
>>
>> The other 3 cases aren't currently supported, and quite some work will
>> be required in the framework until those can be supported reasonably
>> securely.
>>
>> JBQ
>>
>> On Thu, Nov 6, 2008 at 12:38 AM, Anders Rundgren
>>
>> <[EMAIL PROTECTED]> wrote:
>>
>> > For those who do not feel that traversing tons of C++ code to get "the
>> > real truth" is their cup of tea, I wonder if somebody from the Android
>> > core team could elaborate a bit on what is possible to do in Java with
>> > respect to browser extensions?
>>
>> > In particular:
>> > - Support for the HTML "Object" type
>> > - Adding a MIME type decoder and getting the browser environment as
>> > well
>> > - NS Plugin API
>> > - Adding JavaScript objects
>>
>> > Anyhing else that could be useful in this context.
>>
>> > Anders
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to