GSoC/GCI Archive
Google Code-in 2011 OpenIntents

"Save as" integration for OI File Manager

completed by: Matěj Konečný

mentors: Peli

The task is to create an intent receiver for OI File Manager that can act as a "Save as" dialog for other Android applications, like the Google Mail application.

Currently, if you open an attachment in Google Mail, like a PDF file, it lets you select among various PDF viewers (if installed). You should create a new intent filter that acts like a viewer for all kinds of file types, but instead opens a "Save as" dialog in OI File Manager so that the user can save the file to the SD card. Additional code shall be responsible for reading the data and storing it to the SD card.

Your solution should consist of a patch (instructions) based on the latest version of OI File Manager. If you don't have it yet, you first need to download and install the Android SDK (instructions). Follow these instructions to build OI applications.

  • Difficulty: medium
  • Time limit: 14 days
  • Prerequisites: Download the Android SDK (instructions)
  • Requirements for completed entry:
    • Send in a patch with your code modifications (instructions).
    • The code must follow our StyleGuide.
    • OI File Manager must implement a viewer for other applications and be called for example from the GMail app.
    • Additional code must read the data and store them on the SD card.