Skip to content

synsy/CS360-AndroidStudio-InventoryManager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

CS360-AndroidStudio-InventoryManager

Inventory Management Mobile Application Developed in Android Studio

Project Summary

This Inventory Management App was developed to provide a simple, user-friendly way to create, track, and manage items directly on an Android device. The goal was to allow users to securely log in, add new inventory items with quantities and dates, edit existing items, and delete items that are no longer needed—all without requiring a server connection. The app was designed primarily for personal or educational use, addressing the need for a lightweight and fully offline inventory tracker.

User Needs and UI Design

The core user flow consists of two main screens:

  • Login Screen – Allows users to sign in or automatically create a new account if one doesn’t exist.

  • Inventory Screen – Displays all inventory items in a clean, scrollable grid layout with clear labels and intuitive action buttons.

  • The user interface was built with a user-centered design in mind. Text fields and buttons are clearly labeled, color contrasts are simple and readable, and the layout prioritizes function over clutter. The grid-style display gives users a quick, spreadsheet-like overview of their data, allowing immediate editing or deletion with minimal taps. These design choices made the app intuitive for users of all experience levels while maintaining reliability and efficiency.

Coding Approach and Strategies

The app was built in Java using Android Studio, following an incremental, test-as-you-go workflow. Development began by establishing the local data foundation using SQLiteOpenHelper, then layering in CRUD (Create, Read, Update, Delete) operations and UI interactions.

Key strategies included:

  • Modular architecture separating database logic (InventoryDatabase) from UI logic (LoginActivity, MainActivity).

  • Background threading for database operations and main-thread UI updates for responsiveness.

  • Simple, readable code with reusable helper functions to improve maintainability.

  • These strategies ensured stability and can be applied to future mobile projects involving persistent local data, authentication, or dynamic UI components.

Testing and Validation

Testing was performed continuously on the Android Emulator after each feature implementation. Each test ensured that:

  • Logging in created or authenticated users correctly.

  • Adding, editing, and deleting inventory items worked reliably.

  • All data persisted after the app was closed and reopened.

  • This iterative testing process was critical to catching and fixing issues early, verifying correct data handling, and ensuring that UI feedback accurately reflected changes in the database.

Innovation and Problem Solving

One challenge was ensuring that the app’s UI always reflected the most current database state without using complex frameworks. To solve this, the app dynamically rebuilds the GridLayout each time an item is added, edited, or deleted—keeping everything in sync in real time. Another innovation was simplifying account creation: users can simply log in with any username, and if the account doesn’t exist, it’s automatically created. This streamlined the experience and eliminated unnecessary registration steps.

Key Strengths and Achievements

The project’s greatest success lies in its SQLite database integration and seamless connection to the Android UI. This component demonstrated:

  • Strong understanding of Android’s data persistence layer.

  • Effective use of event-driven programming for UI updates.

  • A clean, maintainable structure balancing simplicity and full functionality.

  • Overall, this project reflects solid knowledge of Android development fundamentals, UI/UX design principles, and practical problem-solving throughout the full mobile app lifecycle—from planning to final deployment.

About

Inventory Management Mobile Application developed in Android Studio

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published