Search code examples
javaandroidazuresdkservicebus

Use Windows Azure Service Bus Queues in Android


Is there an alternative to accessing Windows Azure Service Bus queues from an android application that doesn't involve working directly with HTTP requests? For instance, a third-party library or SDK, or instructions on how to use the Windows Azure SDK for Java on Android projects?

The azure-sdk-for-java apparently is not compatibile with Android. My understanding is that it directly references some core libraries such as javax.inject. Trying to use it on an Android project via Maven resulted in errors such as trouble processing "javax/xml/stream/EventFilter.class" and Ill-advised or mistaken usage of a core class (java.* or javax.*) when not building a core library.

The wa-toolkit-android only supports Storage, not Service Bus.


Solution

  • You can take a look at the Windows Azure SDK for Java it includes library and sample code on how to use Service Bus queues and topics. Here's also a post on how to use Queues from plain java, in case it helps.