Giter Club home page Giter Club logo

rudy9025 / database-connectivity-sqlite-android-app Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 798 KB

This Android app, built with SQLite, facilitates student data management, allowing users to insert, display, and delete student records in a local database. Features a user-friendly interface and basic CRUD operations.

Home Page: https://developer.android.com/studio

Java 100.00%
android android-app android-development android-sdk android-studio java xml

database-connectivity-sqlite-android-app's Introduction

Database Connectivity SQLite-Android-App

This Project is a foundation for managing student information within a mobile application. Users can add new student records, view existing records, and delete records as needed. This app utilizes SQLite as the embedded database to store and manage student information.

Design

Design

Project Components

  1. Database Helper Class (MyDB.java):

    • Manages database creation and upgrades.
    • Provides methods for inserting, displaying, and deleting student data.
  2. Main Activity Class (MainActivity.java):

    • Handles user interactions and communicates with the database helper class.
    • Includes buttons for inserting, displaying, and deleting data, and EditText fields for student ID and name.
  3. XML Layout File (activity_main.xml):

    • Defines the layout of the main activity.
    • Includes UI components such as TextView, EditText, and Button.

Features Used

  • SQLite Database: Embedded database for efficient data storage.
  • Android UI Components: Utilizes EditText, TextView, and Button for a user-friendly interface.
  • Android Toast: Provides feedback to users through toast messages.
  • ConstraintLayout: Responsive and flexible UI layout.
  • Database CRUD Operations: Allows users to manage student records.

Usage

  1. Insert Data:

    • Enter student ID and name.
    • Click the "Insert to DB" button.
  2. Display Data:

    • Click the "Display DB" button to view existing records.
  3. Delete Data:

    • Enter the student ID to be deleted.
    • Click the "Delete from DB" button.

How to Run

  • Open the project in Android Studio.
  • Run the app on an Android emulator or device.

Contributing

Contributions are welcome! Feel free to open issues or submit pull requests.

License

This project is licensed under the MIT License.

database-connectivity-sqlite-android-app's People

Contributors

rudy9025 avatar

Stargazers

Dheeraj avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.