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
1
vote
1 answer

Using HTML page as watch face on android wear smartwatch

I'm currently working on development of custom watch faces for android wear. I have one question, Is it possible to use HTML page as watch face on android wear? I'm trying to design watch faces using HTML and display them on android wear…
user4596341
1
vote
1 answer

Android wear Watch face installs but not shown in faces list

I create new watch face for android wear using Android Studio. It runs in emulator. I generate signed APK and installs it manually in my phone with connected smart watch (Sony SW3). It installs successfully but it does not shown in face part of…
Nik Kashi
  • 4,447
  • 3
  • 40
  • 63
1
vote
1 answer

Android Wear Watchface with Sensor Data

Apologies for the lack of code examples, but anything I've tried so far has been a complete mess. I've tried searching for the information online, maybe I'm not searching for the correct terms. I can create a watch face using samples in Android…
1
vote
1 answer

Compass on a watch face on Android wear

I am trying to implement a compass in my watch face, but i have troubles from the very beginning. public class SensorActivity extends Activity implements SensorEventListener { private final SensorManager mSensorManager; private final…
Catalin
  • 37
  • 5
1
vote
0 answers

I am trying to create an android wear watch face. but i am getting an error i can't solve

Resources resources = MyWatchFace.this.getResources(); Drawable backgroundDrawable= resources.getDrawable(R.drawable.face1, null); mBackgroundBitmap=((BitmapDrawable)backgroundDrawable).getBitmap(); I am getting an error when I run…
Catalin
  • 37
  • 5
1
vote
1 answer

There is no default constructor available in com.marlonjones.nimbus.WeatherWatchFaceService.WeatherWatchFaceEngine

I looked several places, including on here and the answers I found did not help. I also looked through the code of the template that I am using and did not see where I went wrong, so I am sorry if this seems like a bad question. But I am making a…
pancodemakes
  • 564
  • 7
  • 26
1
vote
2 answers

Android Studio : Size of the release apk of a watch face does not goes under 6Mo

I found out that every watch face i made did have a release apk file that never goes under 6Mo. Even when it does not contain any drawable. Even the default watch face project is about 6Mo once published & signed. I assume it is an issue of Android…
Thomas Thomas
  • 824
  • 1
  • 9
  • 21
1
vote
0 answers

Animation not fluent Android Wear

I'm starting with Android Wear and I want to make a circle animation, making grow. I know how to do it, I think, but it's doing it very very slow, hope you can help me I have this class variable Paint mAnimation; intialized on the method…
Chepeman
  • 91
  • 1
  • 1
  • 7
1
vote
2 answers

How to display multiple time zones on an android wear watch face

I have built a watch face that tells time in two different ways. The watch face has 12hr format for the current time zone and 24hr format for GMT. By default the watch face only displays the current time zone which means my hour hand for the GMT is…
skeete
  • 71
  • 8
1
vote
1 answer

Android Wear: Peek card background under clocks

I am trying to build an analog version of "Simple" watch face. Example code is clear enough, I based my code on SweepWatchFaceService.java, but when I set .setBackgroundVisibility(WatchFaceStyle.BACKGROUND_VISIBILITY_PERSISTENT) on surface holder,…
Adam Sobotka
  • 97
  • 1
  • 8
1
vote
1 answer

Get height of peek card before any are displayed?

According the the API docs, all peek cards will only be "a single line tall" when PEEK_MODE_SHORT is set. So this means every peek card will occupy a constant of screen real estate for a particular device. I plan to leverage this on my watch face…
YasharBahman
  • 289
  • 3
  • 14
1
vote
0 answers

Detect OK Google hotword on the watch face service

I would like implement a functionality "OK Google" on Android Wear watch face service, so the watch face has ability to check the hotword from user and do something based on that word. Does it possible at all, since the watch face doesn't have…
user2563562
  • 13
  • 1
  • 5
1
vote
2 answers

Handle touch events in watch face

I have a watch face built upon latest API (extending CanvasWatchFaceService.Engine). Now I'd like to get touch event to have kind of active area in watch face that can be touched to open settings, etc. A CanvasWatchFaceService.Engine inherits from…
d.aemon
  • 761
  • 1
  • 7
  • 20
1
vote
2 answers

Why I can't debug watch face on moto 360

I can see the logs below but I can not see the watch face on my watch. Waiting for device. Target device: motorola-moto_360-localhost:4444 Uploading file local path:…
Neo
  • 11
  • 3
1
vote
2 answers

Android : How does one uninstall a wear watch face from the emulator?

I'm looking to uninstall a custom watch face from a running emulator without resorting to wiping the emulator and rebooting. Which ADB commands might I send to the emulator to perform this task?
worked
  • 5,762
  • 5
  • 54
  • 79