I am currently developing an app for android which would allow a User to Upload a PDF file from their SD card to the servers. I've looking at a tutorial to upload an Image to a server to understand the technical aspects of uploading a file.
Intent pickImageIntent = new Intent(Intent.ACTION_PICK, android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI);
startActivityForResult(pickImageIntent, REQUEST_PICK_IMAGE);
I was looking at this and wondering how I would edit this code so the user could access the SD card and select a PDF file rather that the media store gallery?
