This is a bug in the sdk , it will be fixed in a future release...

2008/8/24 code_android_festival_way <[EMAIL PROTECTED]>

>
> Hello guys!
>
> I got a question regarding the picking of audio and video files with
> the "ACTION_PICK" in the Media ContentProvider. It is working for
> images but audio gets me a:
>
> 08-24 17:43:52.010: ERROR/AndroidRuntime(19692):
> android.content.ActivityNotFoundException: No Activity found to handle
> Intent { action=android.intent.action.PICK data=content://media/
> internal/audio/media }
>
> For video I can open the picking dialog and I get my videos in a
> ListView. But after choosing a video file it gets played but the user
> can't "pick" it.
>
> I'm using the following code to take the action (differs in
> Video,Audio,Images):
>
>                Uri uri = Video.Media.INTERNAL_CONTENT_URI;
>                Intent intent = new Intent(Intent.ACTION_PICK,uri);
>                startActivityForResult(intent,0);
>
> It would be nice if someone could tell me if I'm doing something wrong
> (which I don't assume because image picking is working just fine) or
> if it is just not yet implemented in 0.9.
>
> Regards!
>
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to