Homework 6: Persistent Storage on Android


To Deliver: Release 10.0

To Download: 

Due date for submission: Nov 26, at 5 AM

Drop out date: Dec 4, at 5 AM


Motivation

Persistent storage is one of the essentials one needs to figure out for each programming language and architecture. 

In this homework you are tasked to extend your AMaze user interface with some functionality to load and store data in various ways. 

To motivate these features, we look into the settings of preferences and usage / performance statistics for your AMaze app plus the 

ability to load precalculated mazes. The ability to load some precalculated mazes from files may be interesting to provide benchmark or challenge problems for users but it also helps us develop the maze app itself as we can test functionality on particular mazes that are well known to us. 


The goal of this homework is to get more experience in Java file i/o on an Android architecture.  


You find corresponding documentation in Murphy's book "The Busy Coder's Guide to Android Development", Version 5.2, Chapter "Assets, Files, and Data Parsing" (pages 401 ff).


Requirements

Extend the AMaze UI to provide longterm usage statistics. 


Extend the AMaze UI to 

- load a maze from an internal, read-only resource file that comes with the apk

- load and store mazes in internal files that allow for read and write access.


To do list:




Grading: 


You will receive points