Developer Tools for UPnP Tech - Now with Android/Java support

Today we released a new version of the Developer Tools for UPnP Technologies v0.0.50 with a couple of added goodies. In summary, we now have Google Android support, DeviceProtection sample and MacOS X support. The tools are open source and available to the community under BSD 2.0 license, making it easy to add to software and products. Here is a quick rundown of the new features:

    • Google Android support. Bryan Roe at Intel worked hard for the last few weeks to built a completely new Java stack for UPnP. The stack is both device and control point and completely integrated in the “Device Builder” code generation tool. Just load in your device description (or load it directly from a network device) and you can generate a full Android Java stack in seconds. The generated code includes a sample project file ready to load into Eclipse.

    • DeviceProtection sample. Vic Lortz at Intel just added DeviceProtection code into the new “samples” folder of the Developer Tools for UPnP Technologies”. With the announcement of the DeviceProtection profile a few days ago, this should help get developers started. This sample is offered only as a starting point, we hope the community will help us improve the software.

    • Mac OS X and Android native support. The code generation tool “Device Builder” got other updates too. We improved the generate “C” Microstack code to make it work well on Mac OS X and native Android. Mac OS X support will likely be interesting to many, as for native Android, it runs on “rooted” Smart Phones must be compiled against the entire Android Kernel, just the Android NDK. So, it may have limited use. Still, it’s an interesting update.



As an ending node, we keep fixing the auto-update system included in the Developer Tools. If the auto-update fails, just go to the web site and manually download and update. The link is: http://opentools.homeip.net/dev-tools-for-upnp. This next version should fix update problems and future version will probably auto-update fine.

As always, community feedback and bug reports are welcomed. Many thanks to Bryan Roe and Vic Lortz for their hard work.

Thanks,
Ylian
http://opentools.homeip.net/dev-tools-for-upnp

 

I wanted to sent a quick mail on the list to let the community know that we just updated the “Developer Tools for UPnP Technologies” now at version 0.0.50 with a few new features. In summary, we now have Google Android support, DeviceProtection sample and MacOS X support. The tools open source and available to the community under BSD 2.0 license, making it easy to add to software and products. Here is a quick rundown of the new features:


 


· Google Android support. Bryan Roe at Intel worked hard for the last few weeks to built a completely new Java stack for UPnP. The stack is both device and control point and completely integrated in the “Device Builder” code generation tool. Just load in your device description (or load it directly from a network device) and you can generate a full Android Java stack in seconds. The generated code includes a sample project file ready to load into Eclipse.


· DeviceProtection sample. Vic Lortz at Intel just added DeviceProtection code into the new “samples” folder of the Developer Tools for UPnP Technologies”. With the announcement of the DeviceProtection profile a few days ago, this should help get developers started. This sample is offered only as a starting point, we hope the community will help us improve the software.


· Mac OS X and Android native support. The code generation tool “Device Builder” got other updates too. We improved the generate “C” Microstack code to make it work well on Mac OS X and native Android. Mac OS X support will likely be interesting to many, as for native Android, it runs on “rooted” Smart Phones must be compiled against the entire Android Kernel, just the Android NDK. So, it may have limited use. Still, it’s an interesting update.


 


As an ending node, we keep fixing the auto-update system included in the Developer Tools. If the auto-update fails, just go to the web site and manually download and update. The link is: http://opentools.homeip.net/dev-tools-for-upnp. This next version should fix update problems and future version will probably auto-update fine.


 


As always, community feedback and bug reports are welcomed. Many thanks to Bryan Roe and Vic Lortz for their hard work.


 


Thanks,


Ylian Saint-Hilaire


Intel Corporation


For more complete information about compiler optimizations, see our Optimization Notice.

Comments

Hi,

Exists any version UnpLibrary.jar for use with SUN SDK (now Oracle) and emulate device on Window XP/7?

Thanks and Regards.
Marcelo


Hi,

is it possible to port the android library to be used with SUN JDK?
we're looking for upnp library that is compatible with your c# implementation. we tried apache felix upnp, but it was not 100% compatible.

thanks in advance for your answer.

Best Regard,
Ferry


I just issued a fix for the "Error Generating Code" problem, it's now version v0.0.51. There was missing code generating files in the MSI package. People using the source code package would not see the problem.


Hi. Thanks for the error reports. I just came back from a vacation in Europe (which was great!) and will get back to work right away on fixing this bug. Indeed, if there is a dependency on VS2010, I need to find it. I run VS2010 on all my developer machines so this is exactly the type of problem I would have a hard time finding. I will try to fix this today...


Hi,

I have encountered the error "Error generating the code". I have tried several ways to resolve it (tried both 32-bit and 64 bit machines, updates .Net framework, etc). The way to get around this is error is following:
- Install Visual Studio 2010 (Express C# version will do just fine)
- Compile and run the tool

I did not look more in detail what is causing this issue but it seems that Visual Studio 2010 installs something that is required by code used to generate Android stack.

Regards,
Bojan


Hi,

I have encountered the error "Error generating the code". I have tried several ways to resolve it (tried both 32-bit and 64 bit machines, updates .Net framework, etc). The way to get around this is error is following:
- Install Visual Studio 2010 (Express C# version will do just fine)
- Compile and run the tool

I did not look more in detail what is causing this issue but it seems that Visual Studio 2010 installs something that is required by code used to generate Android stack.

Regards,
Bojan


Hi, I've been trying to use the Android Java stack, but even if I use the default configuration, I keep on receiving the error "Error generating code", so I don't know if I am missing something, or if there is any case for what this stack generation does not work.

Thanks


The code generator for the Android Java Stack seems not to work, as I've tried the same way I tried the first time to generate the C stack, and it pops up the error "Error generating the code", so nothing happens, while the C stack is generated perfectly.
Is there any additional option I must click in order to use the Java stack?