ROSJava, Android_core, and nodes connecting to External Master
I am using ROSJava along with Android_core to allow multiple subscribers, publishers, and clients to connect to an external master. My application is not using ROSActivity due to the fact that I need to extend other classes in my various class files. I am mulling over the idea of using a ROSActivity class at some point, but until then, I am trying to find a way to confirm that the nodes have connected to the master correctly.
When I click a button on my android application, it attempts to connect and execute my various subscribers/etc. This is done by setting up nodeMainExecutor and nodeConfiguation, followed by an execute on the component in question. All of this works fine as long as the master (on the other computer) is up.
I need the ability to confirm that the node is up and to give some sort of feedback, however, I do not know what function/class to use or call to find this out. I do see that something is timing out in the background due to logcat giving me a timeout exception.
First, does anyone know of such a function or class to get this feedback? Second, does ROSActivity do this automatically, or would I have to do it there too? Thanks for any help.