< Solved >
Thanks barx
I recompiled the static and dynamic wearable apps, moved the APKs to their raw directories, and recompiled/installed the mobile apps. It worked.
I also found your earlier post about setting up the debugger for the wearable device. Thank you for that.
Thanks for this library. I'm ready to start really playing
--------
Hello,
Thanks for the Wearable Data Layer library.
I just got a Samsung Gear Live (Android Wear 5.02) and I want to play with developing wearable apps using B4A.
I'm trying your two examples, completely unchanged, in post #2 of this thread – both static and dynamic. After I changed the AdditionalRes path, it compiled (B4A 4.3) and installed to my Nexus 5 (Android 5.1) without problems. I had to compile the Mobile B4A, but I use your wearable APK as is since it's already present in the Raw directory.
I notice it takes two or three minutes for the watch app to appear on the watch. Is this normal? I usually have to check "Start" two or three times before it finally shows up.
Once it shows up, I tap on it, for the Static I see the toast message "Example Starting", for the Dynamic I see the green "Listening" page. Back on the Nexus 5 I enter a short string like "asdf" and press "Send". Nothing appears on the Watch. I've tried with the black (off) screen showing, clock face showing, and menus showing, or "Listen" page showing for the Dynamic. From the code it looks like I'm supposed to see a toast message with the string data on the watch - Nada.
The B4A log for the Nexus 5 shows "Message Sent" when I press the Send button. I haven't figured out how to set up the debugger for the watch.
I've downloaded apps from Google Play, like calculators, and they appear to work correctly.
It seems like it works, except for the data transfer. Any hints or suggestions?
Thanks,
Barry.