Does new Google Music Beta support end user selection of songs via intents?

Check MusicUtils. Java In there there are some calls to pick a song. They all have: intent.

SetDataAndType(Uri. EMPTY, "vnd.android.cursor. Dir/track") On another place I found: if (id == RECENTLY_ADDED_PLAYLIST) { Intent intent = new Intent(Intent.

ACTION_PICK); intent. SetDataAndType(Uri. EMPTY, "vnd.android.cursor.

Dir/track"); intent. PutExtra("playlist", "recentlyadded"); startActivity(intent); } else if (id == PODCASTS_PLAYLIST) { Intent intent = new Intent(Intent. ACTION_PICK); intent.

SetDataAndType(Uri. EMPTY, "vnd.android.cursor. Dir/track"); intent.

PutExtra("playlist", "podcasts"); startActivity(intent); } else { Intent intent = new Intent(Intent. ACTION_EDIT); intent. SetDataAndType(Uri.

EMPTY, "vnd.android.cursor. Dir/track"); intent. PutExtra("playlist", Long.

ValueOf(id).toString()); startActivity(intent); } In both files the Intent is routed with Uri.EMPTY.

Check MusicUtils.java. In there there are some calls to pick a song. They all have: intent.

SetDataAndType(Uri. EMPTY, "vnd.android.cursor. Dir/track"); On another place I found: if (id == RECENTLY_ADDED_PLAYLIST) { Intent intent = new Intent(Intent.

ACTION_PICK); intent. SetDataAndType(Uri. EMPTY, "vnd.android.cursor.

Dir/track"); intent. PutExtra("playlist", "recentlyadded"); startActivity(intent); } else if (id == PODCASTS_PLAYLIST) { Intent intent = new Intent(Intent. ACTION_PICK); intent.

SetDataAndType(Uri. EMPTY, "vnd.android.cursor. Dir/track"); intent.

PutExtra("playlist", "podcasts"); startActivity(intent); } else { Intent intent = new Intent(Intent. ACTION_EDIT); intent. SetDataAndType(Uri.

EMPTY, "vnd.android.cursor. Dir/track"); intent. PutExtra("playlist", Long.

ValueOf(id).toString()); startActivity(intent); } In both files the Intent is routed with Uri.EMPTY.

Thanks Kamen. I changed my code using the empty Uri, reinstalled music bata and tested the app. It failed with same error code: 05-27 08:44:19.882: ERROR/AndroidRuntime(17762): FATAL EXCEPTION: main 05-27 08:44:19.882: ERROR/AndroidRuntime(17762): android.content.

ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action. PICK dat= typ=vnd.android.cursor. Dir/track } 05-27 08:44:19.882: ERROR/AndroidRuntime(17762): at android.app.Instrumentation.

CheckStartActivityResult(Instrumentation. Java:1408) – d_surround 05-277 at 12:56 What's the log for the exception? – Kamen 05-277 at 12:58 That was a portion of the log, I can't post the entire log here for some reason...not enough character space....05-27 08:44:19.882: ERROR/AndroidRuntime(17762): FATAL EXCEPTION: main 05-27 08:44:19.882: ERROR/AndroidRuntime(17762): android.content.

ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action. PICK dat= typ=vnd.android.cursor. Dir/track } 05-27 08:44:19.882: ERROR/AndroidRuntime(17762): at android.app.Instrumentation.

CheckStartActivityResult(Instrumentation. Java:1408) – d_surround May 28 at 0:02 Doesn't seem good :) It really seems to be something causes by Music Beta. You'd better try to contact the Music team.Sorry... – Kamen May 28 at 8:51.

I have an application that uses ACTION_PICK to allow the user to pick a song. Once that song is picked, the application uses the cursor location and does another intent later on to show the NOW_PLAYING interface. The application worked fine until I installed Music Beta on my droid device.

The application then began failing with UnsupportedOperationException. Intent intent = new Intent(Intent. I uninstalled Music Bata and the application again worked fine.

Wanted to see if this was a bug related to new Google music application and see if anyone else was having this problem.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions