how to open sdcard memory and select pdf file to get its path for uploading it in android
<p>I want to upload a file which is stored in sdcard to php server.To upload a file i need the filepath.When i am giving the path in application my file is getting uploaded to php server.For this i have used code from following url <a href="http://stackoverflow.com/questions/3204476/android-file-uploader-with-server-side-php">Android file uploader with server-side php</a> and it working nice.But here the path is given in source code only.But i donot want to give the path in my application.I want to open the sdcard and then select the file which i want to upload at run time.so my question is how to get the filepath of pdf at run time on selecting pdf file from sdcard so that i can use the path to upload that file.  thank you </p>
