BITS Now

25
B I T S now Campus Portal for Wireless Devices Shiladitya Mandal, Anand Goyal, Kaustav Ghosh, Omkar Hande

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 of BITS Now

Page 1: BITS Now

BITS now Campus Portal for Wireless

DevicesShiladitya Mandal, Anand Goyal, Kaustav Ghosh, Omkar Hande

Page 2: BITS Now

Overview

Page 3: BITS Now

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

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

User Functionality

Students

Page 6: BITS Now

• 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
Page 8: BITS Now
Page 9: BITS Now
Page 10: BITS Now
Page 11: BITS Now

User Functionality

Faculty

Page 12: BITS Now

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
Page 14: BITS Now
Page 15: BITS Now
Page 16: BITS Now
Page 17: BITS Now

HTTP POST Request

JSON ResponseMySQL Query

Query Result

Page 18: BITS Now

Background Services

Page 19: BITS Now

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

Google Cloud Messaging

Page 21: BITS Now

Start GCM registration

Send GCM messageStore GCM regid

Get GCM regid

Message pushed to device

GCM Workflow

Page 22: BITS Now

GCM Requirements• Requires Android 2.2+

• Requires Google Account

Page 23: BITS Now

TestingWhite box unit testing.

Framework: Android JUnit

ActivityInstrumentationTestCase2<ClassToTest>

Classes tested:

• LoginPage

• MessOption

• StudentSearch

Page 24: BITS Now
Page 25: BITS Now