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

2009-09-24 Thread manoj

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, then instead of showing the content, my app
should be launched.

can you please suggest me how to achieve it?

Thanks,
Manoj.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



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

2009-06-17 Thread manoj

Hi,

I am trying to launch my application when some one clicks any .xml
file or .rss file from device browser or mail.

But, my app is not launched when I type an xml link (for example :
http://remotesite/xml/myXml.xml), instead, it is opened in the default
browser as a text file.

I have put the intent filter as shown below:

intent-filter
 action android:name=android.intent.action.MAIN/action
 category android:name=android.intent.category.LAUNCHER/
category
 action android:name=android.intent.action.VIEW /
 category android:name=android.intent.category.DEFAULT /

 category
android:name=android.intent.category.BROWSABLE /
data android:scheme=http /
data android:mimeType=application/xml/
data android:mimeType=application/rss+xml/
data android:mimeType=application/atom+xml/
data android:mimeType=application/*/
data android:mimeType=text/*/

  /intent-filter

Still no output.

Basically, my requirement is to show an alert from my app if some one
clicks any .xml/.rss file from browser or mail.

Can any one please help me to solve this.

Thanks,
Manoj.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---