[android-developers] Re: VideoView path problem

2010-05-04 Thread Abhi
Aman, Do this to let user pick a video Intent i = new Intent(Intent.ACTION_PICK); i.setType(video/*); startActivityForResult(i, PICK_VIDEO); and in onActivityResult look for the request code 'PICK_VIDEO' and pass along the URI of the selected video to another activity this way: Uri data =

[android-developers] Re: VideoView path problem

2010-05-04 Thread SheikhAman
I didnt get you completely. I have this activity called VideoPlayer.java, which receives the video name from the user through a listview selection. and this activity has some other controls as well like buttons and more. Inside this activity, i have setup a video view which plays the videos,