繁体   English   中英

在Android中使用Windows Azure Service Bus Queues

[英]Use Windows Azure Service Bus Queues in Android

是否有替代方法从Android应用程序访问不涉及HTTP请求的Windows Azure Service Bus队列? 例如,第三方库或SDK,或有关如何在Android项目中使用Windows Azure SDK for Java的说明?

azure-sdk-for-java显然与Android不兼容。 我的理解是它直接引用了一些核心库,比如javax.inject。 试图通过Maven在Android项目上使用它会导致错误,例如trouble processing "javax/xml/stream/EventFilter.class"以及Ill-advised or mistaken usage of a core class (java.* or javax.*) when not building a core library.

wa-toolkit-android只支持存储,而不支持Service Bus。

您可以使用从Azure.js支持Service Bus的Windows Azure移动服务。 Scott Guthrie在此解释了这一点: http//weblogs.asp.net/scottgu/archive/2012/10/16/windows-azure-mobile-services-new-support-for-ios-apps-facebook-twitter- google-identity-emails-sms-blobs-service-bus-and-more.aspx Node.js和服务总线解释如下: http//www.windowsazure.com/en-us/develop/nodejs/how-to-guides/service-bus-topics/

今天,Android可以连接到Windows Azure Mobile服务,如Chris Risner所述: http//chrisrisner.com/Windows-Azure-Mobile-Services-and-Android

您可以查看Windows Azure SDK for Java ,其中包含有关如何使用Service Bus队列和主题的库和示例代码。 这里还有一篇关于如何使用普通java中的队列的帖子 ,以防它有用

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM