Hi all,
Maybe this is an easy question but I couldn't find the answer by myself.
Does anyone have an idea whether it is possible to get the users music in
internal _and_ external storage through a simple content provider query?
Right now we have to do something along the lines of:
return resolver.query(
MediaStore.Audio.Albums.EXTERNAL_CONTENT_URI,
Constants.albumProjection,
null,
null,
null);
and I only see these two constants defined for Mediastore.Audio.Album
Uri EXTERNAL_CONTENT_URI The content:// style URI for the "primary" external
storage volume.
Uri INTERNAL_CONTENT_URI The content:// style URI for the internal storage.
There is no thing such as GLOBAL_CONTENT_URI?
Shall we ask users where they want to go fetch their music? Shall we do the
merging of cursor by ourselves (and later on resorting it)? Both alternatives
seem like a step backwards, so Im crossing my fingers this is not the case :).
Cheers,
Filipe
--
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