This is an old revision of the document!
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.
The service must be accessible implicitly by other applications via the “application.service.NDK_BACKUP” action. An application can send a request via startService, with an intent containing the following fields: “operation” - String, containing either “archive” or “unarchive” depending on the operation “path” - String, path of the folder or file to be archived or the path to the folder where the contents of the archive will be extracted “archive” - String, used only by “unarchive”, the archive to be extracted
An application can use the service via a binder which implements the interface described in IBinderService.aidl found in the assignment archive.
2. Application 3. Library