I managed to get a bit farther. My intent filter looks like:

<!-- intent-filter>
  <action android:name="android.intent.action.VIEW" />
  <category android:name="android.intent.category.DEFAULT" />
  <data android:mimeType="text/plain" />
</intent-filter  -->

You can see it is commented out. It causes the browser to crash. I
submitted a bug for this.  See issue 341 in the issue tracker. It was
marked "Future Release".

Oh, you'll also need to create an sdcard for downloads and the sdcard
should have a directory named download. But until this is implemented
your activity isn't going to get launched.

On Apr 2, 2:37 pm, Amos <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I'm trying to make the browser start my application after a file with
> a specific MIME content type is downloaded.
> I've followed some hints and tips from the forum - but have not
> succeeded so far.
>
> From the errors I'm getting I'm not sure if I'm doing something wrong
> - or if this feature is fully supported already.
>
> My Intent Filter is:
>             <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:mimeType="myapp/zzz" />
>             </intent-filter>
>
> Has anyone managed to do something similar in m5-rc15?
>
> Thanks!
>
> Amos
--~--~---------~--~----~------------~-------~--~----~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to