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