Assignment #5 – Dice Notation with Fragments and Data Persistence

Assignment #5 – Dice Notation with Fragments and Data Persistence

Assignment #5 - Dice Notation with Fragments and Data Persistence

Application Description:

This assignment expands upon the earlier assignment “Dice Notation with Fragments” by offering two data storage solutions.  The Dice Notations can now be persisted to a SQL database in the Android device, and also to the device’s internal SharedPreferences file.  The demonstration video is used to show that the SharedPreferences and SQL database is updated as the user adds / deletes notations, and the functionality of the original application is retained.

Demonstration Video:

Development Environment:

  • Application requires API level 26+
  • Android Studio 3.5
  • Nexus 5X: API 27 (emulator)
  • Pixel C: API 27 (emulator)
  • Google Pixel 2 XL

Resources:

Zybooks – https://learn.zybooks.com

  • Chapter 3: Activities and Intents
  • Chapter 4: Menus, Dialogs, and Touch
  • Chapter 5: Fragments
  • Chapter 6: Working with Data

Contributors:

Leave a Reply

Your email address will not be published.