How can I implement ability to attach files from file system to my application. Can I use some libraries, or I should do it myself programmatically? Or I can implement code of other similar application and use them?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
File browser:
Link
A sample code for file browser. Or you can just let user input the location into an
EditTextand let app remember it.To use external storage(like SD card), please see here
Remember the file location:
Using Shared Preferences
It is a simpler way to save persistent data than SQLite database
Send it to server:
Link
Here is an example of how to use HTTP POST to send to server