This is an old revision of the document!


Warm-up assignment

Description

Your task is to create a backup service for Android and an Activity or series of Activities which act as a front-end for the service. Archiving and unarchiving should be handled by a native library. The application must be able to read and write data to the phone's internal or external storage.

Service

The service must be accessible by other applications and must be accessible implicitly via the

An application can use the service via a binder which implements the interface described in .

The service works in two ways: an application can send a request via startService, with an intent containing the field “path”, which contains a String to either a file or directory which the service must archive, or via

2. Application 3. Library

Points

  • 3p Service
    • 1p Implementing onStartCommand functionality
    • 1p Implementing the binder functions
    • 1p Notifications
  • 4p Application
    • 1p Selecting the backup folder
    • 1p Archiving and unarchiving
    • 2p File explorer for selecting locations used in previous two tasks
  • 4p Native library
    • 1p archiving
    • 1p unarchiving
    • 1p Compression
    • 1p Using a standard format for the archive (tar, tar.gz, zip, 7zip, etc.)
ndk/assignments/warmup.1395262618.txt.gz · Last modified: 2014/03/19 22:56 by petre.eftime
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0