O'Reilly logo

RabbitMQ Cookbook by Sigismondo Boschi, Gabriele Santomaggio

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required