Problem: I have to connect a Lego NXT robot to an Android device via bluetooth. The NXT is running leJos, so I can use normal Java code on it. Those devices will send and receive messages from each other. Now, the Android part is clear to me, i did similar things in the past using the Message and Handler classes of Android API.
Is there a similar API in standard Java and how to use it? I found this related thread, but couldn't figure out how it should work. Then I found the Java Message Service API (JMS) from Java EE. Could this be useful? I am just not sure if Java EE stuff will run on that NXT brick...