This is just a proof-of-concept, showing how to subscribe to ´Google Location´ API and display the current direction of a car, bicycle, etc.
Notice I'm not calling the google service using credentials. I´m mocking the service with the android emulator.
It's 2020, and there's a new alternative to request and handle permissions. It's in alpha state, but that's what I used instead of writing a switch statement inside ´onRequestPermissionsResults´.