12+ Years of App Development
Everything from a single source
50+ Successful App Projects

Blog

Android Debug Monitor - Testing Location Changes with the Android Emulator

When developing map features, it is sometimes very helpful to send location coordinates to the app without having to perform cumbersome real-world field tests.

While Apple offers sufficient options in the iOS simulator with Custom Location, City Run, or Freeway Drive, the Android emulator is unfortunately much more bare-bones in this area. So that you do not actually have to drive around in your own car, as mentioned at the beginning, Android Debug Monitor provides an adequate replacement.

On OS X, the small tool can be launched directly from Xamarin Studio via the Tools menu. Alternatively, you can start the monitor application from the tools subfolder in the Android SDK directory.

For the next step, it makes sense to have the Android emulator already running. After allowing incoming network traffic for Debug Monitor, it will appear in the list under Devices.

Behind the Emulator Control tab, in addition to Telephony Status and Telephony Actions, you will also find the Location Controls required for location changes. While the Manual tab is suitable for a one-time change, the GPX and KML tabs offer two more options for playing back sequences of location changes.

Google itself explains in detail how to create a KML file at https://developers.google.com/kml/documentation/kml_tut.

Sebastian Seidel

Sebastian Seidel

As a mobile enthusiast and managing director of Cayas Software GmbH, it is very important to me to support my team and our customers in discovering new potential and growing together. Here I mainly write about the development of Android and iOS apps with Xamarin and .NET MAUI.

Related Articles

Voice input facilitates documentation - A hackathon topic
Voice input facilitates documentation - A hackathon topic

Voice input makes it possible to intuitively record food eaten and drunk without having to look at a device or tap. Instead of laboriously entering everything by hand, users can simply record their meals and snacks by voice command. This approach can lower the inhibition threshold and encourage users to continuously document their eating habits. This saves time and encourages regular documentation.

Animations in Jetpack Compose
Animations in Jetpack Compose

Modern applications are becoming more design-centric and therefore end-user-centric. For the user, the technical side of the program is not at all interesting, but rather taken for granted. Attractive design, animation and ease of use, on the contrary, all other things being equal, can make the application more popular among competitors.

Jetpack Compose: Google's modern UI toolkit
Jetpack Compose: Google's modern UI toolkit

It's been almost two years since the release of the stable version of Jetpack Compose, but still many developers are skeptical about using this framework in their projects. To answer the question, is it worth using Compose in your projects, let's make a small comparison between Android Views and Jetpack Compose based on typical tasks when developing native Android projects.