get path of the video on item click listener in android

view story

http://stackoverflow.com – I have a gallery which shows the videos stored in the sdcard. I am using Grid view for that. What i want is that when i click on any item it goes to the next activity and plays this particular video. I can not get path of the selected item thought i am getting position of the video file. But i need complete path of the video. Following is my code. public class Gallery extends Activity { /** * Cursor used to access the results from querying for images on the SD card. */ private Cursor cursor; private static final String SD_PATH = new String(Environment.getExternalStorageDirectory().getPath() (HowTos)