I'm using the dynamic example from Barx:
https://www.b4x.com/android/forum/threads/wearable-datalayer.49968/#post-311888
I modified for the last google play services adding the following line
#AdditionalJar: com.google.android.gms:play-services-location
and deleting the previous:
#AdditionalRes: C:\Program Files\adt-bundle\adt-bundle-windows-x86_64-20130729\sdk\extras\google\google_play_services\libproject\google-play-services_lib\res, com.google.android.gms
When I compile the "wearable" app of the example I have the following error:
Compiling generated Java code. Error
B4A line: 34
DL.Initialize(\
javac 1.8.0_60
src\barxdroid\wearable\example\dynamicmessage\main.java:334: error: cannot access DataApi
mostCurrent._dl.Initialize(processBA,"DL");
^
class file for com.google.android.gms.wearable.DataApi not found
1 error
the line 34 in the wearable example is the following:
and in the globals DL is:
Dim DL As WearableDataLayer
This error happen in the "mobile" version of the example code for the same reason.
I think it must be updated the library but I'm not sure.
Thanks,
Roberto.