This one’s a late post. 1 year late to be exact. I always wanted to get my hands on android app development. Then came an assignment, as part of the Real Time Systems Course at Amrita, to create an app to automate the tasks in the campus. Little I knew of java coding and android apps. But this is not a hobby project anymore as my grades are dependent on it.
The app was designed with 5 user levels, each level having different capabilities and customized menus when logged in. The 1st user level is the admin, who is capable of adding the remaining users and their access levels. Then comes students, who can read notifications and messages from other users. The next three users are Teaching and non-teaching staffs, which include hostel and canteen staffs. With these access levels, the users have the capability based on their functional area; for example, a teacher can update the grades of students, canteen staff can update the food menu from their console etc.
One advantage when using firebase is that it is a real-time database; meaning any data change in the DB will be notified immediately to the subscribed nodes. Thus one doesn’t have to rerun the database access code to fetch an updated data, but can simply subscribe to it and get notified whenever a change happens.
On Opening the app, the user will be presented a login page where he/she can login using the username and password set by the admin. Based on the data registered by the admin, the user will be identified as a student, a teaching or non-teaching staff and will be given a customized home page depending on their functional area. The user can then browse through the menus available or post new messages if it is allowed. The code for the app is available here.