1 / 8

Week 10

Week 10. Car Locator (Ahmad, Din, Vinayak). Paths. Starting point : where you want to go back to. Intermediate points. Din: Created lines Ahmad: Debug and markers. Need two points to draw a line. Identify starting point. Added new screen. Added a different screen for the return path

terry
Download Presentation

Week 10

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. Week 10 Car Locator (Ahmad, Din, Vinayak)

  2. Paths Starting point :where you want to go back to Intermediate points Din: Created lines Ahmad: Debug and markers

  3. Need two points to draw a line Identify starting point

  4. Added new screen • Added a different screen for the return path • Application now closes completely when the “Close” button is pressed. • Added a Vibrator (sic).

  5. Close class • Made a new class/activity known as “close”. • The class is called every time the “Close” button on MapScreen is pressed.

  6. Changes • The trick is to leave no activity open. Once a new activity is started, close • the calling activity • This also helps save power as multiple activities are not open at once • Exit(0) is a bad idea since it deletes all tracking variables (first_time, clse, etc.)

  7. Pictorial Demo Note: While the vibrator (sic) has been implemented and does indeed show up in logcat, it cannot be shown on the emulator. Also, there have been known issues with implementing the vibrator (sic) on the emulator. Created by Vinayak

  8. Next Week • Debug lines • Different colored lines to- and from- path

More Related