Hi,
i am developing a simple application which takes xml files and do the
operations
i am testing it on emulator. 1.5 sdk
I set the intent filters and data and mime types as follows in the
manifest file
<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/autom+xml"/>
<data android:mimeType="application/xml"/>
<data android:mimeType="application/rss+xml"/>
<!-- added data types -->
</intent-filter>
Note:
while loading the xml file from the browser directly loads it as a
text
it gives data:htt://............./file.xml
but it don't give the mime type ie: type:
how to launh my activity as default for these type of xml files
need help
Thank you.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---