Hi,

Here's what i ended up using hopefully it will help you. This intent
only matches on the file name, not on the mimetype.

Let me know how you got on.

                        <intent-filter>
                                <action 
android:name="android.intent.action.VIEW"></action>
                                <category 
android:name="android.intent.category.DEFAULT"></
category>
                                <category 
android:name="android.intent.category.BROWSABLE"></
category>
                                <data android:scheme="http" android:host="*"
                                        android:pathPattern=".*\\.droid.txt" />
                        </intent-filter>

Alec

On May 22, 1:51 am, CaptainFanatic <[email protected]> wrote:
> I am having trouble with this too.
>
> I have tried using a html file with a new mime type for my
> application:
>
> ...
> <head>
> <meta http-equiv="Content-Type" content="application/myapp">
> </head>
> ...
>
> I have tried using .html and .myapp file extensions.
>
> My intent filters are something like this:
>
> <intent-filter>
>     <action android:name="android.intent.action.VIEW" />
>     <category android:name="android.intent.category.DEFAULT" />
>     <data android:mimeType="application/myapp" android:scheme="http" /
>
> </intent-filter>
>
> But my application is not started.
>
> I have found a few different suggestions for this problem but none
> have worked so far. Has anyone gotten this to work?
--~--~---------~--~----~------------~-------~--~----~
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