bits now
DESCRIPTION
Final presentation for BITS Now - An architecture of a campus portal for wireless devices at BITS Goa. Used Google CLoud Messaging for push notifications.TRANSCRIPT
![Page 1: BITS Now](https://reader035.vdocuments.mx/reader035/viewer/2022081603/5581d416d8b42ae06c8b54b2/html5/thumbnails/1.jpg)
BITS now Campus Portal for Wireless
DevicesShiladitya Mandal, Anand Goyal, Kaustav Ghosh, Omkar Hande
![Page 2: BITS Now](https://reader035.vdocuments.mx/reader035/viewer/2022081603/5581d416d8b42ae06c8b54b2/html5/thumbnails/2.jpg)
Overview
![Page 3: BITS Now](https://reader035.vdocuments.mx/reader035/viewer/2022081603/5581d416d8b42ae06c8b54b2/html5/thumbnails/3.jpg)
Common features for Faculty and Student
• My schedule – shows the schedule for the current day with room number and time• My courses – shows this semester’s registered courses for the student/teachers• Faculty List – shows the list of all the faculties department wise• Course List – shows all the courses in the semester department wise• Student search – Like SWD, searching student on the basis of either name, ID, hostel or room (at
least one)
Student specific features
• Mess option• Check faculty’s chamber availability• Instant call or message to faculty
Faculty specific features
• Setting chamber availability• Sending Instant messages to all the students registered in the course taught by that particular
faculty.
![Page 4: BITS Now](https://reader035.vdocuments.mx/reader035/viewer/2022081603/5581d416d8b42ae06c8b54b2/html5/thumbnails/4.jpg)
MetricsMeasured using – ProjectCodeMeter Pro v1.26
JAVA
LLOC : 2096
Files : 26
PHP
LLOC: 961
Files: 28
Database Size: 272 KB
APK Size: 379 KB
![Page 5: BITS Now](https://reader035.vdocuments.mx/reader035/viewer/2022081603/5581d416d8b42ae06c8b54b2/html5/thumbnails/5.jpg)
User Functionality
Students
![Page 6: BITS Now](https://reader035.vdocuments.mx/reader035/viewer/2022081603/5581d416d8b42ae06c8b54b2/html5/thumbnails/6.jpg)
• Login – authentication
• Faculty – Chamber availability of the faculty - redirecting on faculty home page, can browse - Long click to call or send message
• Mess Option – choose mess and once selected, doesn’t allow the student to re-enter the option, opens at particular time of month
• My schedule – shows today’s schedule with class time and room number
• Student search
Main Features
![Page 7: BITS Now](https://reader035.vdocuments.mx/reader035/viewer/2022081603/5581d416d8b42ae06c8b54b2/html5/thumbnails/7.jpg)
![Page 8: BITS Now](https://reader035.vdocuments.mx/reader035/viewer/2022081603/5581d416d8b42ae06c8b54b2/html5/thumbnails/8.jpg)
![Page 9: BITS Now](https://reader035.vdocuments.mx/reader035/viewer/2022081603/5581d416d8b42ae06c8b54b2/html5/thumbnails/9.jpg)
![Page 10: BITS Now](https://reader035.vdocuments.mx/reader035/viewer/2022081603/5581d416d8b42ae06c8b54b2/html5/thumbnails/10.jpg)
![Page 11: BITS Now](https://reader035.vdocuments.mx/reader035/viewer/2022081603/5581d416d8b42ae06c8b54b2/html5/thumbnails/11.jpg)
User Functionality
Faculty
![Page 12: BITS Now](https://reader035.vdocuments.mx/reader035/viewer/2022081603/5581d416d8b42ae06c8b54b2/html5/thumbnails/12.jpg)
Login – authentication
My courses – registered courses for the teacher for the current semester
Course List – All registered courses for the semester
Faculty list – List of all faculties department wise, faculties can see each other’s chamber availability status
Chamber Availability – Set / Unset the chamber availability tab, as per convenience.
Instant Messages – can send instant messages to all the students in his course
Main features
![Page 13: BITS Now](https://reader035.vdocuments.mx/reader035/viewer/2022081603/5581d416d8b42ae06c8b54b2/html5/thumbnails/13.jpg)
![Page 14: BITS Now](https://reader035.vdocuments.mx/reader035/viewer/2022081603/5581d416d8b42ae06c8b54b2/html5/thumbnails/14.jpg)
![Page 15: BITS Now](https://reader035.vdocuments.mx/reader035/viewer/2022081603/5581d416d8b42ae06c8b54b2/html5/thumbnails/15.jpg)
![Page 16: BITS Now](https://reader035.vdocuments.mx/reader035/viewer/2022081603/5581d416d8b42ae06c8b54b2/html5/thumbnails/16.jpg)
![Page 17: BITS Now](https://reader035.vdocuments.mx/reader035/viewer/2022081603/5581d416d8b42ae06c8b54b2/html5/thumbnails/17.jpg)
HTTP POST Request
JSON ResponseMySQL Query
Query Result
![Page 18: BITS Now](https://reader035.vdocuments.mx/reader035/viewer/2022081603/5581d416d8b42ae06c8b54b2/html5/thumbnails/18.jpg)
Background Services
![Page 19: BITS Now](https://reader035.vdocuments.mx/reader035/viewer/2022081603/5581d416d8b42ae06c8b54b2/html5/thumbnails/19.jpg)
Notification service• Pull based service
• Service started every hour to check for classes next hour.
• Phone set to silent if there is class.
• Set to normal ringing mode if no class.
![Page 20: BITS Now](https://reader035.vdocuments.mx/reader035/viewer/2022081603/5581d416d8b42ae06c8b54b2/html5/thumbnails/20.jpg)
Google Cloud Messaging
![Page 21: BITS Now](https://reader035.vdocuments.mx/reader035/viewer/2022081603/5581d416d8b42ae06c8b54b2/html5/thumbnails/21.jpg)
Start GCM registration
Send GCM messageStore GCM regid
Get GCM regid
Message pushed to device
GCM Workflow
![Page 22: BITS Now](https://reader035.vdocuments.mx/reader035/viewer/2022081603/5581d416d8b42ae06c8b54b2/html5/thumbnails/22.jpg)
GCM Requirements• Requires Android 2.2+
• Requires Google Account
![Page 23: BITS Now](https://reader035.vdocuments.mx/reader035/viewer/2022081603/5581d416d8b42ae06c8b54b2/html5/thumbnails/23.jpg)
TestingWhite box unit testing.
Framework: Android JUnit
ActivityInstrumentationTestCase2<ClassToTest>
Classes tested:
• LoginPage
• MessOption
• StudentSearch
![Page 24: BITS Now](https://reader035.vdocuments.mx/reader035/viewer/2022081603/5581d416d8b42ae06c8b54b2/html5/thumbnails/24.jpg)
![Page 25: BITS Now](https://reader035.vdocuments.mx/reader035/viewer/2022081603/5581d416d8b42ae06c8b54b2/html5/thumbnails/25.jpg)