rosjava / android_core

Android libraries for rosjava
145 stars 166 forks source link

Using NodeMainExecutorService outside of a ROSActivity needs to expose the LocalBinder. #238

Closed rking788 closed 6 years ago

rking788 commented 9 years ago

When attempting to establish a connection to the NodeMainExecutorService, the LocalBinder class cannot be accessed outside of org.ros.android. The error message returned is:

'org.ros.android.NodeMainExecutorService.LocalBinder' is not public in 'org.ros.android.NodeMainExecutorService'. Cannot be accessed from outside package

Making the binder class and the getService() method public would make it possible to use the Service without having to use a RosActivity.