This is a code base for one of the question of the Development Test at Igarapé Institute.
If you are a candidate, just fork this project with your Github account, create the solution and send us the link in the form.
We used Android Studio to generate this project.
Good luck!
The test requires that you are using emulating device
- Click on Run and connect to an Android emulator
- Open a terminal and connect to the phone via telnet
$ telnet localhost 5554 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. Android Console: type 'help' for a list of commands OK geo fix -82.411629 28.054553 OK Connection closed by foreign host.
You should see latitude and longitude on phone screen.