On Sat, Feb 26, 2011 at 3:05 PM, gizmomogwai
<[email protected]>wrote:

>  Intent intent = new Intent(Intent.ACTION_PICK);
>  intent.setDataAndType(Uri.EMPTY, "vnd.android.cursor.dir/track");
>

That is a bogus Intent.  The definition for the PICK intent is that the data
URI is the location of the data from which to pick from; you do not specify
the MIME type because that is implied by the given data URI.

(Btw I think the old implementation of the music did do something with this
kind of Intent, but it is wrong, and is probably another reason why it is
explicitly not allowing it to be used like this.)

-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

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