This sounded like a good idea initially, but now it's not working so well. Since avatars do the communicating now, services would have to be added to both the avatars and the peers. Yuck. So, that means that either 1) avatars and peers need to merge and become one, or that 2) the services concept is refactored into something else. Right now, I'm thinking option 2. However, I'm not sure how that refactoring is going to go right now. Unfortunately, it's holding me up on getting the rest of the networking tests to pass :(
I just published Bot Commander , the code for my Lego NXT rover . There's a lot left to be done, but release early and often, right? Currently it provides a UI for controlling the direction and speed of all three motor ports on the NXT brick. You can link motors together to adjust their speed in unison. In addition, you can enable "Tilt Control" for a steering-wheel-type experience. To use tilt control: Hook up motor A and B to be the left and right wheels of your vehicle. Hold the phone sideways (i.e. landscape). Tilt the phone forward and backward to drive forward and backward. Turn the phone right and left (like a steering wheel) to steer right and left. As you tilt the phone, you'll see the UI update the slider controls for the speed of motors A and B. I plan to expand the UI to provide a lot more than just motor control. Before that, though, I'll push a JAR to make it easy to integrate control of Lego NXT robots into your own Android project. The code...