Skip to content

Initial release

Latest
Compare
Choose a tag to compare
@david-read-iii david-read-iii released this 23 Oct 03:44
824ecbd

Changelog

  • Create ProductProvider that is a ContentProvider for managing an SQLite database of product entries. Each product has a name, price, quantity, supplier, supplier phone number, supplier email, and picture.
  • Create InventoryActivity that presents a list of products. Each list item displays the product's name, price, quantity, and a sale button to decrement the product's quantity by 1. Options to add a dummy product entry and delete all product entries are available in the action bar. An add product button allows you to navigate to DetailActivity to create a new product. Clicking on a list item navigates you to DetailActivity to modify the existing product.
  • Create DetailActivity that presents a form for adding a new product or modifying an existing product. Text fields for entering the product's name, price, quantity, supplier info are available. If a text field contains an invalid value, an error is set on the field and saving is disabled. Change quantity buttons allow easy modification of the quantity value. The call supplier button starts an intent to the phone app. The email supplier button starts an intent to the email app. The change photo button presents options to take a new photo, choose an existing photo, or remove the photo for the product picture. The save product button saves the product with the chosen values and sends the user back to InventoryActivity.

Screenshots

  • Screenshot_20221015_222249
  • Screenshot_20221015_222309
  • Screenshot_20221015_222327
  • Screenshot_20221015_222339
  • Screenshot_20221015_222351
  • Screenshot_20221015_222357
  • Screenshot_20221015_222431
  • Screenshot_20221015_222456
  • Screenshot_20221015_222502
  • Screenshot_20221015_222720
  • Screenshot_20221015_223511
  • Screenshot_20221015_223521