This practice focuses on the Basics of Android with Compose regarding data persistence, specifically addressing Unit 6: Data Persistence.
This report has been prepared by Group 13 of the Native Mobile Applications Programming (PAMN) course.
The key topics to be addressed are as follows:
-
🚀 Introduction to SQL: In this section, an introduction to the fundamental concepts of SQL (Structured Query Language) is provided. Relational databases and how SQL is used to interact with them are explored. Key concepts such as querying, inserting, updating, and deleting data are addressed.
-
⚙️ SQL Environment Setup: Here, the process of setting up the work environment to use SQL is detailed. This includes installing a database management system (DBMS) and creating a database to practice SQL commands.
-
🔍 Data Queries and Manipulation: In this section, you learn to perform effective queries in SQL to retrieve specific data from a database. Operations such as filtering, sorting, and grouping data are addressed.
-
💾 Data Persistence with Room: It explores how to use the Room library to achieve data persistence in Android applications. Room simplifies the creation and use of relational databases in application development.
-
🔐 Data Storage and Access with DataStore: You learn to store data and access it using keys using DataStore. It focuses on using Preferences Datastore to manage simple key-value pair data in Android applications.
This learning path provides essential skills to use SQL, implement data persistence with Room, and manage data with DataStore in Android applications.
Additionally, to compile and run your Android application locally, follow these steps using Android Studio:
-
Open your project in Android Studio.
-
Verify that all dependencies are correctly configured.
-
Click the "Build" button to compile your application.
-
Once the compilation is complete, select an emulator or connect a physical device.
-
Click the "Run" button to run the application on the emulator or device.
Please note that these steps assume you have already set up your development environment correctly and that your application is free of errors. Enjoy compiling and running your application in Android Studio!
If you wish to compile the report in Overleaf instead of on your local machine, you can follow these steps:
-
Open your project in Overleaf (make sure you have created an account on Overleaf and imported your project there).
-
Locate the "codelab.tex" file in the project on Overleaf.
-
Click on the "codelab.tex" file to open it in the Overleaf editor.
-
At the top of the editor, you will see a button called "Recompile" or "Compile" (it may vary depending on the version of Overleaf). Click on this button.
Please feel free to contact me if you have any questions about the report. 🚀