Presentation is loading. Please wait.

Presentation is loading. Please wait.

Sanchez, Rafael Alejandro

Similar presentations


Presentation on theme: "Sanchez, Rafael Alejandro"— Presentation transcript:

1 Sanchez, Rafael Alejandro
Loc & Trak Velasco, Herman Sanchez, Rafael Alejandro Chou, Pai Hung Huang, Yen-chang

2 Introduction Purpose - Tool for Police Force
Mobile Apps - Communication system Workstation - Monitoring system Database - Organizational system

3 Introduction Technology Used Mobile Apps - Android / Blackberry SDK
Workstation - Google Web Tookit Database - Linux, Tomcat, SQL

4 Client (Blackberry) Basic functionality working Sent GPS signals
Sent pictures to server

5

6 What we desired to accomplish
Logging GPS signals Text messaging Video Handling General device requirements Simple interface, save battery, use multiple networks Display officer locations on map

7 Accomplishments GPS logging
Web browsing screens for simple exchange of text messages Multiple networks, easy-to-use interface Display maps with two locations

8 Client(android) We were given some sample source code so we have an idea on how to proceed. A list of requirements for the project. Without a server to connect to the sample code doesn't do very much.

9 Client(android) wanted features
4.2-1: Logging – log data when there is no backend connection 4.2-2: Messaging – set up infrastructure that allows for a limited messaging/tasking system 4.2-3 Video Clips Handling 4.2-4 General Mobile Devices Requirements The device shall allow geo-tagging of images. The client program shall have a simple interface, for those who are not familiar with complex computer programs. The client program shall be designed to use battery on the phones efficiently (battery has a limited capacity). The client program shall not consume so much data that it overwhelms the cellular data network. The client program shall be able to use multiple data (cellular, wi-fi ) networks to send data. This applies only to mobile devices that support multiple data networks. 4.2-5 Maps display. Displays most recent location of police officer with the same mission.

10 What we did Had to learn how to program for android.
Started with hello world. Going through the source code to see how data were uploaded to the servers. Had to learn what does the servlet do and what does it return from a servlet.

11 What we did Fixing bugs on android
missionId=Default Mission 1&nodeDescription=Default User:Mission Name 0xF9A01EC67&latitude= &longitude= &altitude=0.0&speed=0.0&heading= :31:40.587: The above is generated by the android program Note the spaces in the url and time and heading with no separations

12 What we did Learn how to deploy a servlet on Linux.
Learn how to make everything work together with mysql, tomcat, and opening ports for tomcat. Added maps functionality previous code would only show current position on map. Written a parser to parse out locations for other police officers on the same mission.

13 Challenges faced Being inexperienced at android programming.
Not having enough experience for Linux and deploying web applications on tomcat apache server. Losing members from the group. Not knowing enough about mysql database. Not having a server with root access.

14 Original state Servlets and Database that deal with node, mission, location, image data transmission. None of servlets handles message data transmission. No unified error message handling from server. No success message from server. All servlets in one package.

15 Requirements of Server/DB
Message Handling between ground station and mobile devices. Success/error message handling on server side. Servlet packages improvement

16 Setting up Server/DB Linux-based host Tomcat Server 6.0.32
MySQL Database Server 5.5 - remote access right

17 Database - tables 1. Table message_from_device
2. Table message_from_station

18 Database - procedures 1. addMessageFromDevice
- nodeId, missionId, message, createdTime 2. addMessageFromStation - extra broadcast field 3. getMessageFromDevice 4. getMessageFromStation - nodeId, missionId

19 Server - servlets 1. AddMessageFromDevice
- request, DB connection, calls stored procedure, response 2. AddMessageFromStation 3. MessageFromDevice 4. MessageFromStation

20 Server – servlets (cont.)
5. improve error message handling:

21 Server – servlets (cont.)
6. success message handling:

22 Server – servlets (cont.)
7. Packages improvement

23 Workstation Previous Work Goals Servlets GWT Samples
Implement Servlets Implement GWT Functionality

24 Workstation Work Completed GWT Interface Servlet Implementation
GWT - Servlet - SQL communication

25 Workstation

26 Thank You Aerospace Computer Science Department Mahan Hajianpour
Jeff Lipeles Computer Science Department Russ Abbott Fernando Loza Dr. Pamula

27 Questions?


Download ppt "Sanchez, Rafael Alejandro"

Similar presentations


Ads by Google