OI File Manager

OI File Manager for Android is an open file manager that seamlessly cooperates with other applications.

Download: FileManager-1.1.1.apk

The OpenIntents file manager allows you to browse your SD card, create directories, rename, move, and delete files. It also acts as an extension to other applications to display "Open" and "Save" dialogs.

OI File Manager integrates into

Features:
  • Show list of files.
  • Icons for home (root) directory and SD card.
  • Directory structure displayed through clickable buttons.
  • Alternatively, the current path can be displayed in an input field.
  • Supports PICK_FILE and PICK_DIRECTORY intents so that other applications can use OI File Manager.
  • Support for many file endings and mime types.
  • "Back" key works for directories clicked in the list.
  • Create directory, rename, delete files.
  • Move files.
  • Send files by email.

The directory structure is displayed at the top. Click on a button to jump to that directory directly. Click on the current directory to edit the directory in a text field.

Long-click on an item opens the menu with various options.

Information for developers

Third party developers can use OI File Manager through simple intents to present an "Open file", "Save file", or "Select folder" activity.

The file manager features PICK_FILE and PICK_DIRECTORY intents:

Intent intent = new Intent("org.openintents.action.PICK_FILE");
startActivityForResult(intent, 1);

You can provide a pre-selected file or folder by setting data through setData() to a file URI, like "file:///sdcard/notepad.csv". The picked file URI can be obtained in onActivityResult() through getData().

With the extras "org.openintents.extra.TITLE" and "org.openintents.extra.BUTTON_TEXT" one can further customize the PICK intent (e.g. display "Open file" or "Save file" in the title bar).

Sample application TestFileManager

TestFileManager is a small sample application that showcases interaction of third party applications with the OI File Manager.

It shows a (dummy) input field for the file name or folder name, and three buttons to initiate the "open", "save", and "select folder" intents. Once OI File Manager returns, the selected name is put into the input field. No data is actually opened or saved, since this is just a small demo.

This is how the "open" activity can look like:

Here is the "save" activity:

And this is how you can select a folder:

Note that you can customize the activities by proving extras for the title and the button text.

Details can be found in the sample application TestFileManager. You can download it from the download page, or access the latest version in the public repository.

Links

Release notes

---------------------------------------------------------
release: 1.1.1
date: 2009-12-26
- recursive delete
- translations: Dutch, Faroese, Korean, Lao, Romanian

---------------------------------------------------------
release: 1.1.0
date: 2009-10-30
- display file size.
- show thumbnails for images.
- copy files.
- handle GET_CONTENT action.
- added support for all WebKit extensions.
- added support for following extensions:
.amr, .3gp
- added support for upper case or mixed case letter
extensions (like .png and .PNG)
- fix for send files via MMS.
- support for OI About.
- encode file URIs properly
- translations: Chinese, French, German, Japanese, Spanish

---------------------------------------------------------
release: 1.0.0
date: 2008-12-10

- First public release on Android SDK 1.0.

Features:
- Show list of files.
- Icons for home (root) directory and SD card.
- Directory structure displayed through clickable
buttons.
- Alternatively, the current path can be displayed
in an input field.
- Supports PICK_FILE and PICK_DIRECTORY intents.
- Support for many file endings and mime types.
- "Back" key works for directories clicked in the
list.
- Create directory, rename, delete files.
- Move files.