I've written a simple Wearable app which uses the CapabilityApi to discover 
a paired handheld with a named capability.

This all works great on an LG G Watch and it's paired LG phone:

*LG G Watch:*

   - Android Wear 1.1.1.1929530
   - Google Play Services 7.5.71

*LG G3 Phone:*

   - Android 4.4.2
   - Android Wear 1.1.1.1929530
   - Google Play Services 7.5.71

However, we also have a Moto 360 wearable and a paired Moto where this 
isn't working (i.e. we get 0 nodes)

*Moto 360*

   - Android Wear 1.0.5.1734235
   - Google Play Services 7.5.71

*Moto G*

   - Android 5.0.2
   - Android Wear 1.1.1.1929530
   - Google Play Services 7.5.71

The capability code is pretty basic:

Wearable.CapabilityApi.getCapability(mGoogleApiClient, "capability-name", 
Capability.FILTER_REACHABLE).setResultCallback(new 
ResultCallback<CapabilityApi.GetCapabilityResult>(){
 @Override
 public void onResult(CapabilityApi.GetCapabilityResult result)
 {
   if (result.getStatus().isSuccess())
   {
     Set<Node> connectedNodes = result.getCapability().getNodes();

     // connectedNodes.size() == 0 on the Moto 360!!!
   }
 }}

this returns the correct node on the LG, not the Motorola.

We have other testers who are reporting success on LG Urbane and Samsung 
Gear Live ... 

Even on the Motorola, this worked prior to an Android Wear software update 
that was done on the phone. *There is no software update available on the 
wearable, so we have a mismatch of Android Wear versions* ... this must be 
the root of the problem (?).

I'm looking for suggestions or workaround, or at least to know if anyone 
else has seen this issue?

Thanks in advance

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to