rosjava / android_apps

Applications built on top of the rosjava android libraries.
133 stars 112 forks source link

Direct connections failing #34

Closed stonier closed 10 years ago

stonier commented 10 years ago

Cannot start listener directly with an app manager in pairing mode or standalone mode.

This is a probably by-product of the recent standalone-paired-concert overhaul by Jorge.

stonier commented 10 years ago

Crashing at:

https://github.com/rosjava/android_apps/blob/master/application_management/src/main/java/com/github/rosjava/android_apps/application_management/RosAppActivity.java#L262

stonier commented 10 years ago

Fix direct connections to standalone app managers: 19a3a6b7c0a749d8528cd7dc87732806c2fa8ee2

stonier commented 10 years ago

fa4defbe4002e02487bc53d0c028cea701b75708

This fix catches exceptions properly and inform the user of the problem before gracefully aborting when trying to connect to a paired master (this doesn't work in direct because there is no invite process to make the start_app handle available to the android app).