HostelLite is a native Android application designed to track and analyze resource consumption in student housing. It monitors daily electricity and water usage while facilitating communication between students and administration. The app focuses on bringing transparency to resource management through simple tracking and data visualization.
- Authentication: Secure login system for students and hostel admins.
- Usage Logging: Simple interface for recording daily water and electricity units.
- Real-time Monitoring: Tracks room occupancy and ambient temperature data.
- Data Insights: Visualizes consumption patterns through interactive charts.
- Saving Goals: Allows users to set targets and receive reminders to reduce waste.
| Feature | Description |
|---|---|
| π Usage Dashboard | Central command center displaying real-time usage stats and room conditions. |
| π§ Resource Tracking | Granular logging modules for electricity (units) and water consumption. |
| π Admin Module | Management panel for user oversight, audit logs, and historic data review. |
| π‘οΈ Environmental Stats | Integrated monitoring for room occupancy and ambient temperature logging. |
| π― Goal Manager | Setting saving targets and tracking daily progress toward resource goals. |
| π Alert Engine | Notification system for system alerts and resource-saving nudges. |
| π Interactive Charts | Simple visual representation of usage history using chart libraries. |
- Android (Native Java): Application logic built with Material Design components.
- PHP (Backend): REST API architecture for data handling, hosted via XAMPP.
- MySQL: Database for storing user profiles, consumption logs, and settings.
- Networking: HTTP communication with backend APIs.
- UI/UX: Clean XML layouts with a focus on responsive mobile experience.
- Persistence: Shared Preferences and ViewModel-based state management.
HostelLite/
βββ app/src/main/
β βββ java/ # Logic (Activities, Adapters, Models)
β βββ res/ # UI (Layouts, Drawables, Values)
β βββ AndroidManifest.xml
βββ gradle/ # Build and dependency management
βββ README.md # Documentation
- Start Apache and MySQL in the XAMPP Control Panel.
- Import your database schema into phpMyAdmin.
- Place the project's PHP scripts in your XAMPP
htdocsdirectory.
- Open the project in Android Studio.
- Update the API base URL with your local system IP address.
- Build and run on an Android device or emulator (Min SDK 24).
- Auth Logic: Secure user authentication and local session management.
- Validation: Client and server-side validation to ensure data accuracy.
- Connectivity: Integrated listeners to handle network state changes gracefully.
- Standardized UI: Consistent use of Material tokens for a professional finish.
"HostelLite was developed to solve the lack of transparency in communal resource management. It provides a practical, data-driven solution for more sustainable hostel environments."
β¨ Built for Efficiency. Optimized for Hostels.