Hii i am working on an application in which i require to select files using browse button..
How can i implement a browse button in android?
Hii i am working on an application in which i require to select files
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.
Below is the whole code from my sample application. I used a button which will pick files from any directory of your phone.
layouts
file_picker_empty_view.xml
file_picker_list_item.xml
file_view.xml
main.xml
Activities are
FilePickerActivity
MainActivity // This must be your default Activity, as MAIN in manifest
Now Iam uploading images, You can use your own images.
Image Name: file
Image Name: folder
and finally
AndroidManifest.xml
Original references (now unavailable): Android file picker Activity and Creating simple file chooser.
Edited after above ref not available.
https://github.com/AndersKaloer/Android-File-Picker-Activity