clicker native android application
TRANSCRIPT
![Page 1: Clicker Native Android Application](https://reader030.vdocuments.us/reader030/viewer/2022020106/55a779f91a28ab5f4e8b4569/html5/thumbnails/1.jpg)
CliCker Android nAtive AppliCAtion
INTERNS
2013
![Page 2: Clicker Native Android Application](https://reader030.vdocuments.us/reader030/viewer/2022020106/55a779f91a28ab5f4e8b4569/html5/thumbnails/2.jpg)
our teAm: Ajitha SekarGagan Kumar SambaruLaw KumarPruthvi Gopal Rabart KurreySrilatha Swetha Pullur
![Page 3: Clicker Native Android Application](https://reader030.vdocuments.us/reader030/viewer/2022020106/55a779f91a28ab5f4e8b4569/html5/thumbnails/3.jpg)
our mentors:Mr. Rajesh Kushalkar Mr. Tushar Kambli Mr. Rajavel Mr. Gobinath Mani Mr. Varun Madkaikar Miss. Dipti Ghosalkar Mr. Chetan Jaiswal Miss Kirti Ambre Mr. Harshvardhan
![Page 4: Clicker Native Android Application](https://reader030.vdocuments.us/reader030/viewer/2022020106/55a779f91a28ab5f4e8b4569/html5/thumbnails/4.jpg)
over view• Why Native• New in Clicker v4• Overview of Architecture• Flow of functionality• Synchronization• Why REST• Architecture• Random Questions and Options• Challenges • Statistics • Random Batch Algorithm• Demo• Future work
![Page 5: Clicker Native Android Application](https://reader030.vdocuments.us/reader030/viewer/2022020106/55a779f91a28ab5f4e8b4569/html5/thumbnails/5.jpg)
why nAtive:
• Browser dependent functionality• Navigation during Quiz was allowed• Size of the file being transferred was large
(2MB)• Time to download was very large• Maintaining sessions of students create a
heavy load on server
![Page 6: Clicker Native Android Application](https://reader030.vdocuments.us/reader030/viewer/2022020106/55a779f91a28ab5f4e8b4569/html5/thumbnails/6.jpg)
• ReST• Sessions are not maintained on server• Random questions, options• Synchronization of quiz• Used random batch allocation algorithm for
optimal utilization of router (Reference: Parmendra & Deepak Jayanth)
New in Clicker v4:
![Page 7: Clicker Native Android Application](https://reader030.vdocuments.us/reader030/viewer/2022020106/55a779f91a28ab5f4e8b4569/html5/thumbnails/7.jpg)
OVERVIEW Architecture :
![Page 8: Clicker Native Android Application](https://reader030.vdocuments.us/reader030/viewer/2022020106/55a779f91a28ab5f4e8b4569/html5/thumbnails/8.jpg)
Login pageFlow of functionality
![Page 9: Clicker Native Android Application](https://reader030.vdocuments.us/reader030/viewer/2022020106/55a779f91a28ab5f4e8b4569/html5/thumbnails/9.jpg)
Login page On WI-FI
&CONNECT
Server
On
Connect
![Page 10: Clicker Native Android Application](https://reader030.vdocuments.us/reader030/viewer/2022020106/55a779f91a28ab5f4e8b4569/html5/thumbnails/10.jpg)
Login page On WI-FI
&CONNECT
Server
Server sendsCourse list
JSON
If
Authenticated
![Page 11: Clicker Native Android Application](https://reader030.vdocuments.us/reader030/viewer/2022020106/55a779f91a28ab5f4e8b4569/html5/thumbnails/11.jpg)
Login page On WI-FI
&CONNECT
Server
Server sendsCourse list
JSON
Displays
Course list
Course list
![Page 12: Clicker Native Android Application](https://reader030.vdocuments.us/reader030/viewer/2022020106/55a779f91a28ab5f4e8b4569/html5/thumbnails/12.jpg)
Login page On WI-FI
&CONNECT
Server
Server sendsCourse list
JSON
Course list
On Select Course
Home page
![Page 13: Clicker Native Android Application](https://reader030.vdocuments.us/reader030/viewer/2022020106/55a779f91a28ab5f4e8b4569/html5/thumbnails/13.jpg)
Login page On WI-FI
&CONNECT
Server
Server sendsCourse list
JSON
Home page
On
Select Quiz
Course list
Server sendsQuizJSON
![Page 14: Clicker Native Android Application](https://reader030.vdocuments.us/reader030/viewer/2022020106/55a779f91a28ab5f4e8b4569/html5/thumbnails/14.jpg)
Login page On WI-FI
&CONNECT
Server
Server sendsCourse list
JSON
Server sendsQuizJSON
Home page
Course list
Displays
Quiz
Quiz page
![Page 15: Clicker Native Android Application](https://reader030.vdocuments.us/reader030/viewer/2022020106/55a779f91a28ab5f4e8b4569/html5/thumbnails/15.jpg)
Login page On WI-FI
&CONNECT
Server
Server sendsCourse list
JSON
Server sendsQuizJSON
Home page
Course list
Displays
Quiz
Quiz page
Result page On Timeout Submit
![Page 16: Clicker Native Android Application](https://reader030.vdocuments.us/reader030/viewer/2022020106/55a779f91a28ab5f4e8b4569/html5/thumbnails/16.jpg)
Login page On WI-FI
&CONNECT
Server
Server sendsCourse list
JSON
Server sendsQuizJSON
Home page
Course list
Displays
Quiz
Quiz page
Waits forTime out
Manual SubmitResult page
![Page 17: Clicker Native Android Application](https://reader030.vdocuments.us/reader030/viewer/2022020106/55a779f91a28ab5f4e8b4569/html5/thumbnails/17.jpg)
Synchronization:
IN JSON,Launch time = server time when server launches quiz + wait time (static)Access time = server time when client request hits the server (dynamic)Quiz time (static –> set by server)
CASE 1:Scenario: Launch time > Access timeAction: Wait for (Launch time – Access time) time to attempt quiz
CASE 2:Scenario: Launch time = Access timeAction: Launch quiz immediately with Quiz time
CASE 3:Scenario: Launch time < Access time (student attempts quiz late)Action: Launch quiz immediately with (Quiz time – (Access time – Launch time))
![Page 18: Clicker Native Android Application](https://reader030.vdocuments.us/reader030/viewer/2022020106/55a779f91a28ab5f4e8b4569/html5/thumbnails/18.jpg)
Why REST:
• Stateless• Scalability• Connection is not
persistent
![Page 19: Clicker Native Android Application](https://reader030.vdocuments.us/reader030/viewer/2022020106/55a779f91a28ab5f4e8b4569/html5/thumbnails/19.jpg)
Architecture :
![Page 20: Clicker Native Android Application](https://reader030.vdocuments.us/reader030/viewer/2022020106/55a779f91a28ab5f4e8b4569/html5/thumbnails/20.jpg)
0 0
1 1
2 2
3 3
4 4
5 5
6 6
7 7
8 8
9 9
Index Value
0 3
1 5
2 7
3 1
4 8
5 9
6 0
7 6
8 2
9 4
Array Shuffled Array
Index Value
Random Questions and Options
![Page 21: Clicker Native Android Application](https://reader030.vdocuments.us/reader030/viewer/2022020106/55a779f91a28ab5f4e8b4569/html5/thumbnails/21.jpg)
Challenges:
How web server and android app will communicate?How to manage the sync between app and server
activities?Keep tracking on response of individual tablet/StudentDesigning Database Schema and managing hash mapRandomly displaying questions , options for every
tablet.Used random batch allocation algorithm for client to
access data.
![Page 22: Clicker Native Android Application](https://reader030.vdocuments.us/reader030/viewer/2022020106/55a779f91a28ab5f4e8b4569/html5/thumbnails/22.jpg)
![Page 23: Clicker Native Android Application](https://reader030.vdocuments.us/reader030/viewer/2022020106/55a779f91a28ab5f4e8b4569/html5/thumbnails/23.jpg)
![Page 24: Clicker Native Android Application](https://reader030.vdocuments.us/reader030/viewer/2022020106/55a779f91a28ab5f4e8b4569/html5/thumbnails/24.jpg)
RANDOM BATCH ALGORITHM:
![Page 25: Clicker Native Android Application](https://reader030.vdocuments.us/reader030/viewer/2022020106/55a779f91a28ab5f4e8b4569/html5/thumbnails/25.jpg)
Random Batch
Algorithm(Contd.)
![Page 26: Clicker Native Android Application](https://reader030.vdocuments.us/reader030/viewer/2022020106/55a779f91a28ab5f4e8b4569/html5/thumbnails/26.jpg)
DEMO
![Page 27: Clicker Native Android Application](https://reader030.vdocuments.us/reader030/viewer/2022020106/55a779f91a28ab5f4e8b4569/html5/thumbnails/27.jpg)
Login:
![Page 28: Clicker Native Android Application](https://reader030.vdocuments.us/reader030/viewer/2022020106/55a779f91a28ab5f4e8b4569/html5/thumbnails/28.jpg)
Course list:
![Page 29: Clicker Native Android Application](https://reader030.vdocuments.us/reader030/viewer/2022020106/55a779f91a28ab5f4e8b4569/html5/thumbnails/29.jpg)
Home page:
![Page 30: Clicker Native Android Application](https://reader030.vdocuments.us/reader030/viewer/2022020106/55a779f91a28ab5f4e8b4569/html5/thumbnails/30.jpg)
Wait page:
![Page 31: Clicker Native Android Application](https://reader030.vdocuments.us/reader030/viewer/2022020106/55a779f91a28ab5f4e8b4569/html5/thumbnails/31.jpg)
Result page:
![Page 32: Clicker Native Android Application](https://reader030.vdocuments.us/reader030/viewer/2022020106/55a779f91a28ab5f4e8b4569/html5/thumbnails/32.jpg)
Logout page:
![Page 33: Clicker Native Android Application](https://reader030.vdocuments.us/reader030/viewer/2022020106/55a779f91a28ab5f4e8b4569/html5/thumbnails/33.jpg)
Future Works
• Student id input can be eliminated• Server id can be replaced by URL• Course need not to be selected by the
Student• Images for Questions
![Page 34: Clicker Native Android Application](https://reader030.vdocuments.us/reader030/viewer/2022020106/55a779f91a28ab5f4e8b4569/html5/thumbnails/34.jpg)
BiBliography :
http://stackoverflow.com/ (May-June 2012)
http://w3schools.com/ (May-June 2012)
http://www.eclipse.org/downloads/ (May-June 2012)
http://www.mkyong.com/
http://avilyne.com/?p=105
Restful java with rest-xs text book