Sections
You are here: Home Forum Project Discussion Java API?

Java API?

Up to Project Discussion

Java API?

Posted by Dan Wellisch at March 28. 2007
I am developing a Java GUI application that will run on a Windows CE based Home Automation Tablet. I need to connect through WiFi to the Make Controller. What is the best way to communicate to the Make Controller in this way? Do I need a Java OSC API in order to send the OSC strings through TCP/IP? Or do I use the JNI interface to call a C OSC API to talk through TCP/IP. Obviously, if there was a Java one, that would isolate me from having to write in C, that would be preferable. Anyone have any ideas? Thanks, Dan

Java API?

Posted by Liam Staskawicz at March 29. 2007
Yeah, there's a javaosc library out there. I haven't tried it, but it should work to send OSC messages via UDP to the Controller. If you get it working, let us know! Check http://www.illposed.com/software/javaosc.html

Java API?

Posted by jerome at April 19. 2007
I've used the NetUtil java OSC library. You can get it from : http://www.sciss.de/netutil/ Jerome

Re: Java API?

Posted by Niall Parker at September 26. 2008

Previously jerome wrote:

I've used the NetUtil java OSC library. You can get it from :
http://www.sciss.de/netutil/

Jerome
I've tried both the javaOSC and NetUtil libraries and while I can figure out how to send data and switch things on, I haven't figured out reading of the analog inputs.

Anyone who could post a snippet of code using either library on receiving would be greatly appreciated (none of the examples found so far make sense to me ...)

Thanks.

                     ... Niall

Powered by Ploneboard
Document Actions