Simple Android Directory picker - How?

前端 未结 5 1878
执念已碎
执念已碎 2021-02-05 07:03

I have just started coding in Android Studio and feeling Awesome..!!

How can I write a code for a \'Directory Picker\'. i.e., When a button is clicked, a simple Dialog/

5条回答
  •  猫巷女王i
    2021-02-05 07:57

    There's an open source library that does directory chooser and open/save file activities as well. It can be found on GitHub at https://github.com/BoardiesITSolutions/FileDirectoryPicker.

    Works on Android API Level 17 and above

    Disclaimer: I wrote it

提交回复
热议问题