I noticed that Wearable.CapabilityApi.CapabilityListener APIs 
onCapabilityChanged method is not getting called.

I followed the steps provided in documentations here. 
<http://developer.android.com/training/wearables/data-layer/messages.html#SendMessage>

I understand this NodeApi was deprecated recently. I looked up for example 
usage of CapabilityListener in googlesamples on github. Could not find any.

FindMyPhone example 
<https://github.com/googlesamples/android-FindMyPhone/blob/master/Wearable/src/main/java/com/example/android/wearable/findphone/DisconnectListenerService.java#L81-L91>
 
does use CapabilityAPI however, the callback mechanism is different, and 
does not use CapabilityListener.

If you can throw some light on this or share example usage that will be 
great.

Thanks,
mahesh

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/e51c48c4-d27e-41e7-a23e-e63a4a0ba58b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to