Questions tagged [watch-face-api]

An API for building (interactive) watch faces for the Wear OS platform.

The watch face API is part of the Wearable Support Library. Watch faces can be rendered on a Canvas or using OpenGL ES 2.0. The official developer documentation can be found here and includes basic setup instructions and sample code.

104 questions
2
votes
1 answer

How do I change Watch Faces on Wear OS 3.2 programmatically

I was able to change the WatchFace programmatically with Action WallpaperManager.ACTION_CHANGE_LIVE_WALLPAPER on Wear OS 2 (https://stackoverflow.com/a/29786902/3569768), but with the Wear OS 3 emulator I got the error No Activity found to handle…
2
votes
1 answer

How to handle tap events for an interactive watch faces with androidx.wear?

What is the correct way of handling tap events with the new androidx.wear.watchface libraries? I was doing this with the now deprecated android.support:wearable libraries without any problem with Java (using onTapCommand). Now, everything seems to…
go3d
  • 443
  • 3
  • 11
2
votes
1 answer

Newest update (9 Feb 2022) by Samsung for the Galaxy Watch4 is crashing my watch face - what to do?

Yesterday Samsung published an update for the Galaxy Watch4. Since then I am being flooded by users' emails saying that my watch face is crashing and is unusable. The crash happens when the watch switches between normal and ambient mode. According…
go3d
  • 443
  • 3
  • 11
2
votes
1 answer

System indicators do not respect Gravity.BOTTOM

I have taken the demo analog watch face, and tried getting the system indicators to appear at the bottom, using setStatusBarGravity(Gravity.BOTTOM). It appears that this particular gravity isn't respected. setWatchFaceStyle(new…
Paul Lammertsma
  • 37,593
  • 16
  • 136
  • 187
2
votes
1 answer

Watch Face Settings Select Background Image

Situation: I want to have a Watch-Face with a specific background. The user should be able to change the background from a pool of 8 images that I define. Problem: The WearableListenerService and it's components give me a headache and I have no…
2
votes
2 answers

Android Wear Watch Face Vibrate With Screen Off

I have an Android Wear watch face that I'm trying to have vibrate the watch on the hour. It is working except in cases where the watch screen is off. According to the log statements, the handler method is called every minute and the chime method is…
Chris A.
  • 23
  • 4
2
votes
1 answer

Watch Face with additional styles in Gear S2 on Tizen SDK

I'm working on developing various watch faces for the Gears S2 under the Tizen Web SDK. I've noticed some of the preinstalled watch faces have a "Style" button at the bottom of the watch chooser screen. When this button is tapped, a page full of…
2
votes
2 answers

Is there any way to control the duration of Interactive Mode on Android Wear watch faces?

I am creating a custom watch face for Android Wear, feature animations and transitions. The problem is, when going into Interactive Mode, the watch reverts to Ambient Mode too shortly after, not allowing for the animations to complete. I know there…
2
votes
3 answers

Rotating bitmap on a canvas in Android studio

Can anyone point me in the right direction to find out how to write expressions for rotating a canvas in android studio. I'm making a watchface and I used part of the code from the provided sample but I need to understand what it means. Here's a…
skeete
  • 71
  • 8
2
votes
1 answer

How to run Android Wear signed apk?

I am creating a watch face for android wear. After creating watch face and reading this, I have generated signed apk for android wear. But android studio is generating two signed apk: one for mobile device and another for wearable. I want to pack…
xyz
  • 1,325
  • 5
  • 26
  • 50
2
votes
1 answer

Hide (or dim) Android Wear Charging Icon

I created an Android Wear watch face with specialized content for when the smart watch is in its charging cradle, such that it makes a reasonable bedside clock overnight. We use big super-dim digits in this mode for comfortable night viewing (&…
Riker
  • 85
  • 6
2
votes
1 answer

How to run Android Sample Watch Face?

This is what I did File->Import Sample 2 modules created. Application and Wearable Which one to execute? I tried both anyway I did not encounter any error I noticed "Session 'Application' Running" / "Session 'Wearable' Running" on bottom left when…
stuckedunderflow
  • 3,551
  • 8
  • 46
  • 63
2
votes
1 answer

Android Wear Picture ticker

I am using the sample second, hour, and minute ticker/clock hands for a sample watch face on Android Studio. There, draw line method of Canvas class is being used with a startX, startY, stopX, and stopY. My question is how do I implement this…
What
  • 73
  • 1
  • 6
2
votes
1 answer

How to test low-bit ambient and burn-in protection when making watch faces?

The watch face API for Android Wear requires special considerations with certain screens, namely those that need low-bit ambient and burn-in protection (see the design guide). I only have watches that do not use either of these modes by default.…
aleph_null
  • 5,766
  • 2
  • 24
  • 39
1
vote
1 answer

WearOS Complication rendering doesn't show up on the watchface

I followed WatchOS documentation for creation of the watchface. I can draw anything on the watchface without any problem, however, when I try to render any complication it doesn't show up. package com.example.mywatchface import…