> Reviewing the public database of intents
> and applications over on OpenIntents, I'm not sure there is.

Uh uh.. unfortunately, our database is far from being complete ;-)

I've just added the information for the build-in media player:
http://www.openintents.org/en/node/112

To play back the first audio file in the internal audio content
provider, you can use the following code:

Intent i = new Intent(Intent.ACTION_VIEW);
Uri u =
Uri.withAppendedPath(MediaStore.Audio.Media.INTERNAL_CONTENT_URI,
"1");
i.setData(u);
startActivity(i);

Of course, this does not answer the question how you can get the
content of the content provider (i.e. the number "1"), but that is a
question for a separate thread ;-)

Peli
www.openintents.org


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