[android-developers] Re: Starting my application from browser using MIME Type Intent

2008-04-07 Thread Amos

Thanks for your help, baldmountain!

I saw your group thread about this issue as well. Too bad this feature
doesn't work - it's very important to me as I'm sure to many others.

Following your reply, I'm going to stop working on this issue and try
to find a workaround, as I understand it is an inherent limitation of
the current SDK. If anyone has any updates on this issue - they will
be most welcomed!


On Apr 3, 2:25 pm, baldmountain [EMAIL PROTECTED] wrote:
 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
-~--~~~~--~~--~--~---



[android-developers] Re: Starting my application from browser using MIME Type Intent

2008-04-03 Thread baldmountain

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