1 / 7

Assignment 2 – GPS Message Board

Assignment 2 – GPS Message Board. Justin Loo. Purpose. Retrieve messages from a server based on your current latitude/longitude Uses GPS for latitude/longitude Also has option to use your own input for coordinates

Download Presentation

Assignment 2 – GPS Message Board

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Assignment 2 – GPS Message Board Justin Loo

  2. Purpose • Retrieve messages from a server based on your current latitude/longitude • Uses GPS for latitude/longitude • Also has option to use your own input for coordinates • Can add/delete messages if so desired, no concept of permissions for deleting messages.

  3. Activities • Initial Screen 2. Message List Latitude Longitude Messages Select Input toggle button (When checked it uses User input, otherwise GPS)

  4. Activities cont’d • 2. Message List (GPS) 3. Add Message

  5. Design • Message Object for each entry • Contains the following • Message ID (generated server side, passed back with request) • Name (String) • Message (String) • Latitude (int) • Longitude (int) • Timestamp (double, not used but perhaps in the future)

  6. Design • Terms of Service screen uses SharedPreferences to store whether or not the user previously wanted to skip that screen, does not register if reject was pressed. • Messages are retrieved from AppEngine running JSONEngine, the GET request contains latitude and longitude. Response is parsed into a list of Message objects and the scrolling display is populated using that. • Longpress on an entry to bring up option for deleting it, uses the id stored in each Message object • Adding Messages uses an HTTP Post with key, value pairs for Name, Message, and Coordinates

  7. Questions?

More Related