Hi,
      I am trying to intercept xml links that are clicked in the
android web browser. I want my activity to handle these xml files,
however I cannot seem to get this to work. Whenever I click on the xml
file in the browser it just displays the xml file.  Here is the entry
that I have in my AndroidManifest.xml. Is this enough or do I need to
do something more?

 <activity
                android:name="handleXML"
                android:theme="@android:style/Theme.Dialog"
                android:screenOrientation="portrait"
                >
                <intent-filter>
                        <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:scheme="https" />
                        <data android:mimeType="application/xml"/>
                        <data android:mimeType="text/xml"/>
                </intent-filter>
        </activity>



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