Android locator 2old2play

 

Knowing a user’s location in an Android app can be extremely useful. Users take their devices everywhere and are constantly using them on the go, and as developers we can capitalize on that by providing a more contextual experience based on their current location.

Accessing the current location of an Android device is easier than ever, but it can still be a little tricky, especially for the first time. What follows is a guide on the very basics of retrieving a user’s current location and displaying it with a marker on a map. The project files for this project are available on GitHub , but follow along and in a few minutes we’ll build a super simple location finder!

This is a somewhat complex topic in Android, but these step-by-step guidelines should explain everything you need. If you would like to learn more about the fundamentals of Android programming that lead up to this, please check out my Android Development Track on Treehouse.

Android locator 2old2play

But don’t burst out in tears just yet. There’s still hope for your phone to find its way back to you! There are a few ways to  remote control and track your phone even if you haven’t installed a recovery app  before it vanished.

Using ADM, you are able to track your registered Android devices, let your phone ring and wipe your phone’s data (which has to be enabled manually). Besides that, ADM doesn’t offer more options to remote control your phone. I hope that Google keeps improving it and introduces more helpful features, such as  taking pictures in case it got stolen and you want to take a snapshot of the person who took it.

In case there’s no laptop around when you lose your device, you can also use someone else’s Android phone to track it. Instead of using the mobile browser, you can also use the Android Device Manager app . If you the other phone doesn’t have it, simply download it here . You can sign in using the guest mode and your Google account credentials. Now you should be able to track your lost device, let it ring or wipe its data.

Knowing a user’s location in an Android app can be extremely useful. Users take their devices everywhere and are constantly using them on the go, and as developers we can capitalize on that by providing a more contextual experience based on their current location.

Accessing the current location of an Android device is easier than ever, but it can still be a little tricky, especially for the first time. What follows is a guide on the very basics of retrieving a user’s current location and displaying it with a marker on a map. The project files for this project are available on GitHub , but follow along and in a few minutes we’ll build a super simple location finder!

This is a somewhat complex topic in Android, but these step-by-step guidelines should explain everything you need. If you would like to learn more about the fundamentals of Android programming that lead up to this, please check out my Android Development Track on Treehouse.