Skip to content

MarinaRomanova/BookLand

Repository files navigation

BookLand

A simple app to track inventory of a bookstore

This app was created as a final assignment of Android Basics Google and Udacity online course.

Overview

The app contains activities and/or fragments for the user to:

  • Add Inventory
  • See Product Details
  • Edit Product Details
  • See a list of all inventory from a Main Activity
  • Uses SQLite database to track the inventory

Detailed description

The app contains CatalogActivity and EditorActivity.

When there is no information to display in the database, the layout displays a TextView with instructions on how to populate the database.

bookland_mainactivity

Useer can either insert dummy data or enter a new book manually.

bookland_mainpage_insert

bookland_add_new_book

The entered information is then verified.

bookland_add_new_book_verification

Dialogs are displayed to confirm exiting the EditorActivity without clicking on the save button.

bookland_bookdetails_dialog_screen

Each list item also contains a that reduces the total quantity of that particular product by one (include logic so that no negative quantities are displayed). The new quanity is updated in the database.

bookland_buy_button

It is possible to access book details from CatalogActivity and Edit the entered information, as well as to contact the supplier via an intent to a phone app using the Supplier Phone Number stored in the database. The Product Detail Layout also contains buttons that increase and decrease the available quantity displayed. The code verifies that no negative quantities are displayed (zero is the lowest amount).

bookland_bookdetails_fragment

About

A simple app to track inventory of a bookstore

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages