[android-developers] Re: How to launch my app if some one browses any xml file

2009-09-24 Thread Justin (Google Employee)
Yes, you just need to define an ACTION_VIEW Intent filter for the appropriate MIME type. Be **sure** to include the correct type(s) so as to not improperly intercept content that you can't handle. Cheers, Justin Android Team @ Google On Sep 24, 5:33 am, Sujay Krishna Suresh wrote: > On Thu, Sep

[android-developers] Re: How to launch my app if some one browses any xml file

2009-09-24 Thread Sujay Krishna Suresh
On Thu, Sep 24, 2009 at 5:00 PM, manoj wrote: > > HI all, > > I want your help for my app. The following is my new requirement. > > I have written a rss reader app. Now my requirement is to launch the > app when we browse any xml/rss link. I mean if I type the xml/rss link > in the phone browser,

[android-developers] Re: How to launch my app if some one browses any xml file

2009-06-18 Thread Dianne Hackborn
I don't think you can do this because the initial URL interception happens when the browser is processing the URI, before it has a MIME type. If it doesn't find an external activity to handle the raw URI, it will at that point see if it can handle it internally. At that point either it will do so