Sorry for crossposting, but I thought you folks might be interested in this.
I just made public a set of Java and Android bindings for ROS2, I wrote
them a while ago, but they needed some updates and never had made a
proper release of them before.
Anyway, I’ve pushed it all to GitHub, they are licensed as Apache 2.0. You can follow the instructions
on  if you’d like to try out the examples.
There’s a few caveats (it wouldn’t be a ROS project if the word “caveat” weren’t in the announcement):
- Not all of the API is implemented, things like QoS profiles are missing for example.
- Domains are not supported, I stil lhave pending implementing a mechanism for setting the domain id programmatically.
- No support for services or intraprocess communication.
- Lack of documentation and tests
In the following days I’ll polish a few things and also put up a demo, but meanwhile you can use all this to write ROS2 applications that can run on an Android device, on a PC with the JRE and communicate with other applications written in Python or C++.
All kinds of feedback are more than welcome!