70 likes | 226 Views
Project 6 SafeWalk Simulator -- Android. Varun Vasudevan. Note. Project will be released this evening . If you have not set-up Android SDK on your system yet, then do it at the earliest . For related issues contact Varun during office hours this evening (5:30 – 7:30 pm) Logistics:
E N D
Project 6SafeWalk Simulator -- Android Varun Vasudevan
Note • Project will be released this evening. • If you have not set-up Android SDK on your system yet, then do it at the earliest. • For related issues contact Varun during office hours this evening (5:30 – 7:30 pm) • Logistics: • Individual Project • Due on April 3rd, Thursday, 11:59 pm (the day after Exam 2). So begin early!
Overview • Simulation of Purdue SafeWalk System • SafeWalk is a campus safety system that allows a person on campus to request that someone (called a volunteer) walks with him or her from location A to location B • The system receives incoming requests and manages a set of volunteers to handle those requests.
Overview Contd.. • You have to write an Android application that would: • Be used by a volunteer to identify requests • Indicate that you are moving from location A (say LWSN) to location B (say HAAS) • Indicate that you are walking with Requester1 from location B (HAAS) to location C (say PMU) Scenario: Say, you were at LWSN and Requester1 wanted to walk from location HAAS to PMU.
Sample GUI • Your current Location • Your score • Request Menu (Walk button) • Move to (Move button) • Logs: displaying messages
Initial Steps • Get a unique Key for yourself by following the link in the handout. • Use this key to connect to the server (Get a feel of messages transmitted by the server) • Read the SafeWalk Simulator Protocol document • Get Started
Learning Objectives • Observer Design Pattern • Software Design Pattern • http://en.wikipedia.org/wiki/Observer_pattern • Use of HashSet<String> class • This is similar to ArrayList class • http://docs.oracle.com/javase/7/docs/api/java/util/HashSet.html