Questions tagged [android-wear-2.0]

Second generation of Google's operating system for smart wearable devices, based on the Android platform.

Android Wear 2.0 is the second generation of Google's operating system for smart wearable devices like wrist watches. It's an extension of , and was released in Spring 2017.

Notable features include a redesign of the system UI, standalone applications, voice recognition using Google Assistant, the addition of watch face complications, and updates to Google Fit.

225 questions
32
votes
8 answers

Google Play services out of date. Requires 11011000 but found 10289574

I've been strugling with this problem about week now. Been searching similar topics about this but still can't resolve my problem. The Prolem is that when i'm trying to run my program on Polar m600 wear or wear emulator (Android V 7.1.1 and API25)…
Foul.H
  • 321
  • 1
  • 3
  • 4
17
votes
1 answer

WearableRecyclerView Android Wear OS

I'm trying to create a menu similar to the default Wear OS one within my app: Various other methods are now deprecated, and unfortunately the Android documentation https://developer.android.com/training/wearables/ui/lists seems very incomplete. I…
shazbot
  • 565
  • 6
  • 14
9
votes
0 answers

Time duration picker dialog or component?

I'm creating a Wear OS app and I'm giving the user the option to set a timer. In addition to voice commands I'd like to give the option to manually set the duration. I can adapt the time picker dialog to fit the screen but as far as I can tell…
superNES64
  • 628
  • 5
  • 14
9
votes
7 answers

Unable to distribute app on Android Wear in Google Play Developer console

Im trying to submit my newly created Android Wear watch face through Google Play Developer Console. The problem is checkbox "Distribute your app on Android Wear" in pricing and distribution section is disabled. I cant understand why. What I did: 1)…
kashlo
  • 2,313
  • 1
  • 28
  • 39
8
votes
0 answers

Android Wear WearableListenerService doesn't trigger on Android 8 Oreo when app closed

I have a WearableListenerService on a phone app that receives a DataItem from the watch (in onDataChanged). The code is essentially the same you have on the documentation (I can put it here if useful). When a new DataItem is received, I show a…
Albert Vila Calvo
  • 15,298
  • 6
  • 62
  • 73
7
votes
1 answer

OnCapabilityChanged working on phone but not on wearable

After carefully following the instructions in this post: How to detect when android wear device gets disconnected? I finally managed to get my phone to detect when the wearable is connected using onCapabilityChanged. I have followed the exact same…
HPage
  • 1,412
  • 20
  • 27
7
votes
0 answers

Wear OS and AlertDialog

I know that recomended way to show dialogs on wear is using AlertDialog (https://developer.android.com/training/wearables/ui/) but by default AlertDialog does not look good on round screens. I know I have to provide custom layout (see Showing…
Marcin
  • 1,113
  • 1
  • 11
  • 33
7
votes
0 answers

Android Wear 2.0.4 fails to find class "com.google.android.aidl.BaseStub"

My Wear project (WatchFace) fails to run using Android Wear 2.0.4 where it builds and runs successfully with Android Wear 2.0.3. java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/aidl/BaseStub; …
karora
  • 1,223
  • 14
  • 31
5
votes
1 answer

How to install app from beta track on Wear OS smartwatch?

I created a standalone smartwatch app for Wear OS. I use a Huawei Watch 2 4G for testing. I now want to have it in the beta track on Google Play Store so that users can test it. I've created some smartphone apps already and put them in the Play…
m-rm
  • 340
  • 2
  • 17
5
votes
0 answers

Calling Android Vibrator vibrate function several times stops vibration

My app should react with vibration, when a number sends a text message. The vibration should go on until the user touches a button. While testing the application, I'm sending multiple text messages from different devices, including the one with the…
adamb
  • 793
  • 1
  • 11
  • 20
4
votes
1 answer

Are not-standalone (companion) Wear OS apps still allowed for submission on the Play Store, or are they always rejected?

Our Wear OS application, which is not a standalone application (it is a companion app of our smartphone app, it cannot be used without the smartphone app) keeps getting rejected by Google Play Policy team for the following reason : "Your application…
4
votes
1 answer

Can't connect to Android Wearable Health Services

I tried to read walking steps from Android Wear (Samsung Galaxy Watch 4), using this guide : https://developer.android.com/training/wearables/health-services/active. This is part of my code : val healthClient = HealthServices.getClient(this…
4
votes
1 answer

Error while accessing android wear data layer

I am trying to access the wearable data layer to communicate with the phone app as shown here. However, after writing the following line: DataClient dataClient = Wearable.getDataClient(context); The Android lint flags it in Android Studio and shows…
4
votes
2 answers

Unresolved reference WearableRecyclerView.Adapter error in Kotlin

I'm trying to create an android wear app with a list of items. To enable circular scrolling, I'm using WearableRecyclerView by coding in kotlin. But facing this error Unresolved reference: Adapter The same code in java doesn't throw this error! I've…
Divya
  • 543
  • 2
  • 13
  • 20
4
votes
3 answers

Android Wear 2 WiFi local network access

I have made some REST call with retrofit that access a local IP address on my local WiFi network, work great on mobile side, but once on the standalone wear app I have this error: java.net.SocketTimeoutException: connect timed out 10-08 14:50:00.154…
jaumard
  • 8,202
  • 3
  • 40
  • 63
1
2 3
14 15