Click here to Skip to main content
15,883,767 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Dear Sir,


How to pick a file from button click event for android application?

eg- click the button and pick any file from folder(any where) for android application


Please suggest me How to implement?

Thanks
Mahendra
Posted

you can use intent http://developer.android.com/reference/android/content/Intent.html#ACTION_PICK[^]

public static final String ACTION_PICK
to get the file name:
Java
startActivityForResult(Intent, int)

To unzip the file, you can refer to http://stackoverflow.com/questions/5028421/android-unzip-a-folder[^]
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900