views:

194

answers:

0

Hello!
I believe I'm really close but not quite. Why do you think this code doesn't work?

            private Uri Atarget = MediaStore.Audio.Media.EXTERNAL_CONTENT_URI;
    (...)
            Intent intent = new Intent(Intent.ACTION_VIEW, Atarget);
            //intent.setType("audio/*");
            startActivityForResult(intent,2);

It appears to work for

            MediaStore.Images.Media.EXTERNAL_CONTENT_URI;

So what's up? :)