Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 27 days 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 (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-07-27T18:37:48.000Z (5 months ago)
- Last Synced: 2024-07-27T19:47:07.388Z (5 months 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: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner-direct-single.svg)](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
[[email protected]](mailto:[email protected]).## Screenshots: