To clarify further the fix would be that the inbuilt Music app will no
longer support ACTION_PICK for audio/video...so you should implement it
yourself...
   Also, you cannot use INTERNAL_CONTENT_URI with MediaStore for IMAGES,
AUDIO and VIDEO. You should instead use EXTERNAL_CONTENT_URI.
  MediaStore's INTERNAL_CONTENT_URI is only used for storing ringtones,
alarms and notification sounds.


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

>
> Thank you for your quick response!
>
> On 25 Aug., 22:28, "Megha Joshi" <[EMAIL PROTECTED]> wrote:
> > 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 [email protected]
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