https://github.com/turskyi/sqlitecontentprovider
This project demonstrates how to implement SQLite and Content Provider in an Android application. It includes a screen to display a list of items (cats) and another screen to add new records (new cats). Ideal for educational purposes and as a reference for using SQLite instead of other database libraries like “Room”.
https://github.com/turskyi/sqlitecontentprovider
android contentprovider contentresolver database educational kotlin sampleproject sqlite
Last synced: about 2 months ago
JSON representation
This project demonstrates how to implement SQLite and Content Provider in an Android application. It includes a screen to display a list of items (cats) and another screen to add new records (new cats). Ideal for educational purposes and as a reference for using SQLite instead of other database libraries like “Room”.
- Host: GitHub
- URL: https://github.com/turskyi/sqlitecontentprovider
- Owner: Turskyi
- Created: 2021-04-04T13:00:07.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-07-27T18:37:48.000Z (almost 2 years ago)
- Last Synced: 2025-03-27T12:16:30.731Z (about 1 year ago)
- Topics: android, contentprovider, contentresolver, database, educational, kotlin, sampleproject, sqlite
- Language: Kotlin
- Homepage: https://github.com/Turskyi/SqLiteContentProvider
- Size: 1.7 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://stand-with-ukraine.pp.ua)

# SQLite Content Provider Sample Android Application
## Description
This project demonstrates how to implement work with SQLite and Content
Provider in an Android application. It features a screen that displays a list
of items (cats) and another screen where users can add a new record (new cat).
## Installation
To install and run this project:
1. Download the project files.
2. Open the project in Android Studio.
3. Run the project on an emulator or a physical Android device.
## Usage
This project can be used for educational purposes and as inspiration if you
need to use SQLite instead of other database libraries like “Room”.
## Features
- [Android](https://developer.android.com/studio/intro)
- [Kotlin](https://kotlinlang.org/)
- SQLite
- ContentResolver
- ContentProvider
- Architectural pattern:
[Monolith](https://en.wikipedia.org/wiki/Monolithic_application);
- **Code Readability:** code is easily readable with no unnecessary blank
lines, no unused variables or methods, and no commented-out code, all
variables, methods, and resource IDs are descriptively named such that
another developer reading the code can easily understand their function.
## Contributing
Anyone can contribute, but it may not be necessary since this is more of an
educational material for copying and pasting the code.
## License
No intentional license was used.
## Contact:
For any inquiries or suggestions, please open an issue on the GitHub repository
or reach out to me directly at
[dmytro@turskyi.com](mailto:dmytro@turskyi.com).
## Screenshots:

