![]() The sub-directories in the list are sorted by name. The navigation forth to a directory is accomplished by tapping a sub-directory item in the ListView and back by pressing the back button. The current directory path is displayed in the AlertDialog title. The directory chooser dialog is based on the AlertDialog supplied with the ListView of sub-directories. ![]() This assumes very easy integration of the dialog in Android applications. ![]() The implementation is contained in a single file and does not use any extra resources except for the pre-defined Android resources. SD card enhanced with ability to create directories. In this article I present an implementation of simple directory chooser dialog for Android Thereby developers have to write their own directory chooser dialog. Unfortunately Android does not provide any built in directory chooser dialog as is expected by Android developers. Every time you need to choose a certain SD card directory in your Android application you need to load a kind of directory chooser dialog that will offer a graphical interface to select a required directory.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |