I've attempted something like the following:
- Code: Select all
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setData(ContentUris.withAppendedId(MediaStore.Audio.Artists.EXTERNAL_CONTENT_URI, ArtistId));
startActivity(intent);
This results in logcat reporting that there is no activity found to handle for: ACTION_VIEW with a URI of content://media/external/audio/artist/1
This will open the music player, but it is using the id as media id (i.e. a specific track):
- Code: Select all
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setData(ContentUris.withAppendedId(Media.EXTERNAL_CONTENT_URI, ArtistId));
startActivity(intent);
Is there a complete list of available URI's with supported Actions that are implemented in default Android apps? I know OpenIntents has a list, but is there anything official from Google?

