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.  The intent and filters looked like
this:

Intent intent = new Intent(Intent.ACTION_PICK);
intent.setType("vnd.android.cursor.dir/track");
this.startActivity(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.

Here is the log:

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)
05-27 08:44:19.882: ERROR/AndroidRuntime(17762):     at
android.app.Instrumentation.execStartActivity(Instrumentation.java:
1378)
05-27 08:44:19.882: ERROR/AndroidRuntime(17762):     at
android.app.Activity.startActivityForResult(Activity.java:2817)
05-27 08:44:19.882: ERROR/AndroidRuntime(17762):     at
djf.songing.Songing.onTouchEvent(Songing.java:124)
05-27 08:44:19.882: ERROR/AndroidRuntime(17762):     at
android.app.Activity.dispatchTouchEvent(Activity.java:2089)
05-27 08:44:19.882: ERROR/AndroidRuntime(17762):     at
com.android.internal.policy.impl.PhoneWindow
$DecorView.dispatchTouchEvent(PhoneWindow.java:1655)
05-27 08:44:19.882: ERROR/AndroidRuntime(17762):     at
android.view.ViewRoot.handleMessage(ViewRoot.java:1785)
05-27 08:44:19.882: ERROR/AndroidRuntime(17762):     at
android.os.Handler.dispatchMessage(Handler.java:99)
05-27 08:44:19.882: ERROR/AndroidRuntime(17762):     at
android.os.Looper.loop(Looper.java:123)
05-27 08:44:19.882: ERROR/AndroidRuntime(17762):     at
android.app.ActivityThread.main(ActivityThread.java:4627)
05-27 08:44:19.882: ERROR/AndroidRuntime(17762):     at
java.lang.reflect.Method.invokeNative(Native Method)
05-27 08:44:19.882: ERROR/AndroidRuntime(17762):     at
java.lang.reflect.Method.invoke(Method.java:521)
05-27 08:44:19.882: ERROR/AndroidRuntime(17762):     at
com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:858)
05-27 08:44:19.882: ERROR/AndroidRuntime(17762):     at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
05-27 08:44:19.882: ERROR/AndroidRuntime(17762):     at
dalvik.system.NativeStart.main(Native Method)

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to