Git Product home page Git Product logo

scansd's Introduction

ScanSD -- Author: Scott Pan

coding quiz for "Write an app that scans all files on the external storage (SD card) and collects information"

Goal: Write an app that scans all files on the external storage (SD card) and collects following information:

  1. Names and sizes of 10 biggest files

  2. Average file size

  3. 5 most frequent file extensions (with their frequencies)

============================================================================

Functional Acceptance Criteria:

  1. This information should be displayed in a convenient way.

  2. App allows the user to start and stop scanning. Hint: Clicking the STOP button will bring up the dialog, with 3 choices (Stop Completely, Pause, Cancel). Selecting the Stop Completely will change the button to Start, and will clean up all the collected data. Selecting the Pause will change the button to Resume, which allows the user to click to resume the scanning.

  3. The app must display progress of ongoing scan.

  4. App contains a button allowing the user to share obtained statistics via standard Android sharing menu (button is not active until the activity receives the statistics from the server). Hint: It should invoke the Android’s default Sharing menu, including Gmail, mail, Facebook, Twitter, etc. Also, if the user selects Email, the data should be copied from the 3 TABs into the email.

  5. App shows a status bar notification while it scans the external storage. Hint: For every 100 files processed, the app should send one new status bar notification to replace the old status bar notification, and it should include “NNN files processed”.

  6. UI must handle screen orientation changes.

  7. When app is sent to background (by pressing HOME button), the scan should continue.

  8. When app is stopped by the user (by pressing BACK button), the scan must be stopped immediately.

============================================================================

Technical Details:

  1. Project must be in Android Studio.

  2. Project must use all the recent (new) Android SDK features.

  3. Project must support all versions starting from Android 4.0.

  4. Accomplished project must be posted on Github for review.

scansd's People

Contributors

scottpan2008 avatar

Watchers

James Cloos avatar 浙里剡溪 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.