Using messaging to update Google Maps on Android

Using RabbitMQ with Android is basically straightforward; the bytecode of the Dalvik virtual machine is compatible with the desktop Java versions, and the RabbitMQ JAR files containing the API are just the same.

In this recipe, we intend to plot a realistic example on how to use RabbitMQ in a mobile application, in particular, with the intent of drawing on Google Maps the position updates being published with the AMQP messages from another Android device.

However, this recipe is the first part of a two-recipe project; here, we focus mainly on the messaging aspects of the application, and in the next recipe, we will see how to put the messaging logic in an Android service.

The two recipes are also complementary, ...

Get RabbitMQ Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.