Another observation, which could be a bug in the package manager:

I have also a small life-wallpaper (the infamous discomagic) which
starts "a" musicplayer with the intent:

  Intent intent = new Intent(Intent.ACTION_PICK);
  intent.setDataAndType(Uri.EMPTY, "vnd.android.cursor.dir/track");
  intent.putExtra(Constants.ALBUM, ...);
  intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK |
Intent.FLAG_ACTIVITY_CLEAR_TOP);
  startActivity(intent);

The funny thing is, that this leads also to a SecurityException (as
long as no other Application is installed that filters for this
intent).
When I install e.g. MixZing which also supports this intent I get the
regular ActivityChooser (with music and mixzing) and if I choose Music
it works.

Good or Bad?


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