Android Load/Save File Chooser Dialog Class

Since years I was searching for a useful Load/Save Dialog for Android, a class that I can use easiely, and with all functions like: 

“New Folder”
“Delete Directory/File”
“Override File”
“Are You Sure?”

Remembered Load Directory
Remembered Save Directory
Displayed file size (not implemented in the Video)

 

There are some, but never small, easy, complete or useful. The most are using tons of XML files. Now the search has an end. I’ve made my own Load/Save File Chooser Dialog PopUp Android Class and it is great!

 

 

Just implement this:

popupFileSelection = new PopupFileSelection(this, new PopupFileSelectionEventListener() { 

@Override public void load(File file) { 
Log.i("!!!","Load File: " + file.getAbsolutePath()); 
} 

@Override public void save(File file) { 
Log.i("!!!","Save File: " + file.getAbsolutePath()); 
} 
});

… and then call it like this

 popupFileSelection.open(PopupFileSelection.MODE_LOAD);
 popupFileSelection.open(PopupFileSelection.MODE_SAVE);

That’s it

The best: You don’t need layout/styles/colors xml files!

 

Here you can Download the complete App Source Code:
(tested with Android 7.0/8.1)

Download: <In order to finance everything that belongs to it, the downloads will be activated after a donation>

Thanks for your support!