By Dan Gotlund & Eric Acierto

Slides:



Advertisements
Similar presentations
WordPress Installation for Beginners Sheila Bergman
Advertisements

Widhy Hayuhardhika NP, S.Kom. Overview of database structure Connecting to MySQL database Selecting the database to use Using the require_once statement.
Electrical and Computer Engineering Vitaly Gordievsky Alex Trefonas Scott Richard Matt Beckford Final Project Review.
Performed by:Gidi Getter Svetlana Klinovsky Supervised by:Viktor Kulikov 08/03/2009.
How Clients and Servers Work Together. Objectives Learn about the interaction of clients and servers Explore the features and functions of Web servers.
Direct Congress Dan Skorupski Dan Vingo. Inner workings Reminder: MVC design pattern Procedural view: From request to response o Request passed to a view.
INTRO TO MAKING A WEBSITE Mark Zhang.  HTML  CSS  Javascript  PHP  MySQL  …That’s a lot of stuff!
Intelligent Tutoring System Mobile Communication Team Drew Boatwright Nakul Dureja Richard Liou.
Form Handling, Validation and Functions. Form Handling Forms are a graphical user interfaces (GUIs) that enables the interaction between users and servers.
Sys Prog & Scripting - HW Univ1 Systems Programming & Scripting Lecture 15: PHP Introduction.
Open Source Server Side Scripting ECA 236 Open Source Server Side Scripting Cookies & Sessions.
Create an online booking system (login/registration)
Server-side Scripting Powering the webs favourite services.
Overview of Previous Lesson(s) Over View  ASP.NET Pages  Modular in nature and divided into the core sections  Page directives  Code Section  Page.
Lecture 14 – Web Security SFDV3011 – Advanced Web Development 1.
Lecture 7 Interaction. Topics Implementing data flows An internet solution Transactions in MySQL 4-tier systems – business rule/presentation separation.
Digital Alchemy | 5750 Stratum Drive Fort Worth, Texas | Phone: Fax: | Rate Code Manager Tutorial.
London April 2005 London April 2005 Creating Eyeblaster Ads The Rich Media Platform The Rich Media Platform Eyeblaster.
PHP meets MySQL.
Tutorial 7 Creating Forms. Objectives Session 7.1 – Create an HTML form – Insert fields for text – Add labels for form elements – Create radio buttons.
Creating Dynamic Web Pages Using PHP and MySQL CS 320.
Week seven CIT 354 Internet II. 2 Objectives Database_Driven User Authentication Using Cookies Session Basics Summary Homework and Project 2.
Chapter 8 Collecting Data with Forms. Chapter 8 Lessons Introduction 1.Plan and create a form 2.Edit and format a form 3.Work with form objects 4.Test.
Website Development with PHP and MySQL Saving Data.
ASP.NET The Clock Project. The ASP.NET Clock Project The ASP.NET Clock Project is the topic of Chapter 23. By completing the clock project, you will learn.
Prof Frankl, Spring 2008CS Polytechnic University 1 Overview of Web database applications with PHP.
MAKANI ANDROID APPLICATION Prepared by: Asma’ Hamayel Alaa Shaheen.
FriendFinder Location-aware social networking on mobile phones.
Creating Databases for Web applications Server side vs client side PHP basics Homework: Get your own versions of sending working: both html and Flash!
FriendFinder Location-aware social networking on mobile phones.
8 Chapter Eight Server-side Scripts. 8 Chapter Objectives Create dynamic Web pages that retrieve and display database data using Active Server Pages Process.
1 State and Session Management HTTP is a stateless protocol – it has no memory of prior connections and cannot distinguish one request from another. The.
Mr. Justin “JET” Turner CSCI 3000 – Fall 2015 CRN Section A – TR 9:30-10:45 CRN – Section B – TR 5:30-6:45.
1/7/2016www.infocampus.co.in1. 1/7/2016www.infocampus.co.in2 Web Development training gives you and all-round training in both the design and the development.
START Application Spencer Johnson Jonathan Barella Cohner Marker.
© Copyright 2012 Hidaya Trust (Pakistan) ● A Non-Profit Organization ● / www,histpk.org Hidaya Institute of Science & Technology
4.01 How Web Pages Work.
ICE Integrated Cloud Environment Cloud Scanning and Mobile Printing
Journal of Mountain Science (JMS)
Mobile App.
Employee App - User Guide
CIIT-Human Computer Interaction-CSC456-Fall-2015-Mr
Mobile App.
SQL and SQL*Plus Interaction
z/Ware 2.0 Technical Overview
LONER MOBILE.
Tracking and Booking Taxi
Chapter 19 PHP Part III Credits: Parts of the slides are based on slides created by textbook authors, P.J. Deitel and H. M. Deitel by Prentice Hall ©
Web Design and Development
Mobile App.
Web Programming Language
PHP Training at GoLogica in Bangalore
PHP / MySQL Introduction
BASIC PHP and MYSQL Edward S. Flores.
How to register and use the app for Law Enforcement users?
How to register and use ODMAP for Fire/EMS and other partners
APPLE TWO STEP VERIFICATION CHANGE PHONE NUMBER Please read the following presentation on any help on Apple two step verification change phone number.
Cookies BIS1523 – Lecture 23.
Unit 27 - Web Server Scripting
Swipe to Donate Life.
Iteration 1 Presentation
Web Systems Development (CSC-215)
The 1st International Open Science Conference
Web Programming Language
SESSION TRACKING BY DINESH KUMAR.R.
PHP Forms and Databases.
Web Programming Language
4.01 How Web Pages Work.
PHP-II.
MyLion Registration Website | Mobile device
Presentation transcript:

By Dan Gotlund & Eric Acierto RED DOT By Dan Gotlund & Eric Acierto

OVERVIEW An app for students with Apple mobile devices Contact the Public Safety Office by pressing a button Public Safety receives an alert with GPS coordinates of the device through their website Public Safety can send help to that location

Situation Students may be in need of assistance around campus Emergency “Blue Light” phones are one option But may be out of reach / service Calling Public Safety’s Emergency Number This is better, but not all students will remember the number or program it into their phones

Solution RED DOT App Gives students an alternative way to contact help from Public Safety Students would be reminded to install the app throughout the school year

The App Developed with Apple’s Xcode + the Swift Programming Language Model-View-Controller Paradigm Model – the classes that hold the app’s data View – controls & other elements the user sees and interacts with Controller– the code that binds the model and view together

The GUI User Interface A large red button Simple, quick & easy to use A large red button Instructions: hold the button down for 5 seconds to request assistance from Public Safety

HAL 9000 from the film 2001: A Space Odyssey RED DOT BUTTON

The App Icon

The App CoreLocation Framework imported GPS Latitude and Longitude of device are each converted to a String & stored in variables HTTP Post Request Sends variables to a PHP script located on a server PHP script stores coordinates in a MySQL Database

The Button Outlet & Action created UILongPressGestureRecognizer object Binds the button on the View to the ViewController code UILongPressGestureRecognizer object Added to the button minimumPressDuration property set to 5 seconds

Button Pressed The button’s Action method is triggered NSMutableURLRequest created HTTP Method established as “POST” POST String created "x=\(latitudeLabel.text)&y=\(longitudeLabel.text)"; POST String encoded with NSUTF8StringEncododing String set to the URL Request’s HTTPBody Property

Button Pressed If no errors were encountered: NSURLSession created with the Request Stored in a variable called “task” If no errors were encountered: task.resume() command POST Request is sent to the server UIAlert is displayed on the GUI

PHP Script Handles the POST Request Retrieves the Latitude and Longitude from the Superglobal $_REQUEST array Each is stored in a variable Creates a TimeStamp of the request Stores the Latitude and Longitude in the Database

GPS TABLE

The Website Hosted “cicada” server in Hitchcock Comm. Building Website Files edited with Sublime Text Editor FileZilla

Login Page The main page will only be accessible with login Public Safety Officers will use ID and Password to log in A session is started when the page loads If the login button is pressed: PHP script checks if the ID and password match using the password_verify function Redirects to the main page

Register Page HTML POST Form First name, middle initial & last name text fields Create a password field Confirm password field PHP script checks if it’s valid Password hash with password_hash function Stored in Database with SQL

Register Page When the register button is pressed A script analyzes the form The first letter from the first name, Mid. Initial, & first letter of last name are concatenated A random 5 digit number is added to the end Public Safety ID is created The passwords are tested to see if they match and that they have the correct requirements

ID & Password Table

Main Page

Logout Button ‘Includes’ file if (isset($_POST['logout'])) – checks if the logout button is pressed Destroys the session (session_destroy function) Returns to the login page

Improvement Plans for the Future More features in the app’s interface NetID registration Public Safety can Identify who sent the request Eliminate possibility of ‘false’ alarms Non-Emergency request form User can type in what problem needs to be fixed etc. Android Version For students without apple devices

Improvement Plans for the Future Features to add to the website When an alert is received: Send an email/call/text to the Officers An alarm or flashing icon on the website The Person that sent the request Phone number displayed with the map marker