Open Source Android Apps for Developers: OI File Manager

Cute Android: Open Source Android Apps for Developers: OI File Manager

Description
OI File Manager for Android is an open file manager that seamlessly cooperates with other applications. 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. The main features include:
* 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.

Project Home
http://www.openintents.org/en/node/159

Project owners
http://www.openintents.org/en/
http://code.google.com/p/openintents/

Version
1.1.3

Downloads
http://openintents.googlecode.com/files/FileManager-1.1.3.apk

QR code

Source Code
# Non-members may check out a read-only working copy anonymously over HTTP.
svn checkout http://openintents.googlecode.com/svn/trunk/ openintents-read-only

ScreenShots
OI File Manager

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.

Posted by Cute Android

Related Android Apps:

  1. Open Source Android Apps for Developers: OI Flashlight (OpenIntents Flashlight for Android)
  2. Open Source Android Apps for Developers: OI About (OpenIntents About for Android)
  3. Open Source Android Apps for Developers: OI Shopping List (OpenIntents Shopping List for Android)
  4. Open Source Android Apps for Developers: OI Notepad (OpenIntents Notepad for Android)
  5. Open Source Android Apps for Developers: OI Safe (OpenIntents Safe for Android)
  6. Open Source Android Apps for Developers: OI Countdown (OpenIntents Countdown for Android)
  7. Open Source Android Apps for Developers: OI News Reader (OpenIntents News Reader for Android)
  8. Open Source Android Apps for Developers: OI Voice Notes (OpenIntents Voice Notes for Android)
  9. Open Source Android Apps for Developers: Openintents
  10. Cute Android Apps for Users: ASTRO File Manager