This page is obsolete. Redirecting to http://android-developers.blogspot.com/2016/04/deprecation-of-bindlistener.html
Android Studio (and Android Lint running during Gradle builds) will flag any usages of com.google.android.gms.wearable.BIND_LISTENER as an error:
If your phone or wear app is using the BIND_LISTENER action, you should update your app to use one of the newer, more fine-grained actions below. You must also update to play-services-wearable version 8.2 or later.
To listen to data items and messages on a path of /prefix, the new syntax looks like this:
You can read more about handling Data Layer events and the WearableListenerService at:
Technical docs >