Attendance Tracker App is an Android application designed to help teachers easily record, view, and track student attendance. It leverages Firebase Firestore as its backend, offering secure and real-time data storage and retrieval.
- ✅ Record Attendance — Mark attendance using a student list with checkboxes.
- 📊 View Overall Attendance — Display class-wide attendance statistics.
- 👤 View Individual Attendance — Access detailed logs for each student.
Before setting up the project, ensure you have:
- ✅ Android Studio installed.
- ✅ A Firebase project with Firestore enabled.
- ✅ An Android device or emulator for testing.
git clone https://github.com/firasbarkia/attendance-tracker.git- Launch Android Studio.
- Click Open an existing project.
- Select the cloned
attendance-trackerfolder.
- Go to Firebase Console.
- Create a new project or select an existing one.
- Add an Android app to your Firebase project.
- Download the
google-services.jsonfile. - Place it inside the
app/directory.
In Android Studio:
File > Sync Project with Gradle Files
Navigation screen with buttons to access each feature.
- Displays a list of students.
- Teachers can mark each student as Present or Absent.
- Shows overall attendance data fetched from Firestore.
- Allows viewing attendance records per student.
This app uses Firebase Firestore to store and retrieve attendance data. Ensure that:
- Firestore rules are correctly configured.
google-services.jsonis correctly placed.- Firebase dependencies are added in the
build.gradlefiles.
AttendanceRecord.java— Represents each student’s attendance data.
AttendanceRecordAdapter.java— Adapter for class attendance list.StudentAttendanceRecordAdapter.java— Adapter for individual student records.
activity_main.xml— Main screen with navigation.activity_record_attendance.xml— UI for marking attendance.activity_view_attendance.xml— Displays class-level attendance.activity_view_student_attendance.xml— Shows individual records.item_attendance_record.xml— List item layout for attendance.item_student_attendance_record.xml— List item layout for student records.
We welcome contributions! To get started:
- Fork the repo.
- Create your feature branch:
git checkout -b feature/YourFeature - Commit your changes:
git commit -m "Add new feature" - Push to GitHub:
git push origin feature/YourFeature - Open a Pull Request.
This project is licensed under the MIT License.
- Built using Firebase Firestore for backend storage.
- Inspired by the amazing Android open-source community.