Uses a series of images similar to the one below to display a user-friendly notification on Wear devices which contains the users current speed in miles per hour.
The value of CurrentSpeedService.DEMO
determines if the app runs in a basic debug mode which simply increments speed once per second or a full location-based mode.
locationListener
is not unregistered when theSTOP
intent is received. Causes the app to continue to post notifications to the device whenDEMO
isfalse
.