-
Book Overview & Buying
-
Table Of Contents
RabbitMQ Cookbook
By :
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, as in this recipe we are presenting a RabbitMQ consumer on Android, which plots the incoming positions on the map. The producer will be presented in the next one, and will publish its position through RabbitMQ. You can find the sources...
Change the font size
Change margin width
Change background colour