试图建立一个应用程序的需要UPnP发现。有没有办法做到这一点对黑莓PlayBook?脚本preferred是客户方HTML5 / JS(即WebWorks的)和ActionScript,尽管Java和放大器;闪光灯以及支持。
Trying to build an app the requires UPNP discovery. Is there any way to do this on the Blackberry Playbook? Scripts preferred are clientside HTML5/JS (ie Webworks) and Actionscript, although Java & Flash are supported as well.
出于兴趣,你做什么,脚本语言UPnP发现?
Out of interest, what scripting languages do do UPNP discovery?
推荐答案UPnP发现依赖于组播UDP是一种不具备通过JavaScript。我不知道任何动作的UPnP协议栈的。
UPnP discovery relies on multicast UDP which isn't available through JavaScript. I don't know of any ActionScript UPnP stack.
您是最好的选择将是使用Java堆栈如 ohNet 或保鲜。这两个所使用的各种产品和积极支持。对于ohNet,发现是由CpDeviceListUpnpXxx类处理;我不知道,你会开始使用保鲜,但它确实有一个活跃的社区,如果你要问的问题。
You're best bet would be to use a Java stack such as ohNet or Cling. Both of these are used by a variety of products and actively supported. For ohNet, discovery is handled by the CpDeviceListUpnpXxx classes; I'm not sure where you'd get started with Cling but it does have an active community if you need to ask questions.
[免责声明:我贡献ohNet]
[Disclaimer: I contribute to ohNet]
更多推荐
UPNP与黑莓PlayBook
发布评论