Skip to content
 
 

Repository files navigation

Persistence in Android

Exercise 1

Welcome to the first exercise. This exercise is about the EncryptedSharedPreferences.

Prerequisites

You should have already set up this project in the setup branch.

If you have already set up the project, please pull the assignment branch to get the base code for this exercise.

If you have not, please pull the assignment branch directly. For troubleshooting please refer to the ReadMe in the setup branch.

Provided Code

The provided code contains a simple app with a single view of a colored background. By tapping anywhere on the screen, the background color will change to a random color.

Assignment

  • Save the current color in the Shared Preferences.
  • The color should be stored encrypted. Use Encrypted Shared Preferences for this.
  • When the app is restarted, the color should be restored.

Grading

Task Points
Saving and loading the color 0.5
Storing the color encrypted 0.5
Total 1.0

Submission

Submit your solution by zipping the project folder and uploading it under "Aufgabe 9 Persistenz & Datenbankanbindung" in the Ilias mailbox as "ex1.vorname.nachname.zip"

The assignment is due on Thursday, 16.01.2024 at 15:00. Later submissions will not be graded and receive 0 points.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages