Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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”.

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)
GitHub commit activity

# 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:

screenshot

screenshot

screenshot