116 questions
1
vote
1
answer
83
views
Flavors are not being shown in the watch face editor (phone or watch)
I'm building a watch face using the WFF format...
The XML reference documentation says it is possible to create presets configurations, so called "flavors", however they don't show on the ...
0
votes
0
answers
45
views
No 3rd party complications on Samsung's Premium analogue watch face
I could not find any way to extend the complication types of my app in such a way, so they appear in the selection menu for Samsung's Premium Analogue watch face.
The only complications are coming ...
3
votes
2
answers
330
views
Watch Face Format XML string split?
I am attempting to get complex data from a complication using Watch Face Format. I'm wondering if there's any way to split a string from complication data, based on a separator like a comma or space?
...
4
votes
2
answers
548
views
Add separately-compiled complication data source to WFF
Can a separately-compiled complication data source (written in Java/Kotlin) be added to a WFF watchface bundle? If so, how?
Background: I have two deeply-coded scientific-oriented Kotlin watchfaces (...
1
vote
1
answer
337
views
WearOs Watch Face Format: either gps or custom SourceType?
What I'm wanting to do is make a Watch Face Format watch face that shows the sun position and moon position and phase, and rise and set times. The moon phase is fortunately included in the SourceTypes....
1
vote
1
answer
228
views
How to properly get heart rate bpm in a Watch Face Service?
I made a watch face using the Jetpack Watch Face API and I'm trying to get the bpm data into a string as to paint them into the canvas. I don't want to use complication as it seems that they will go ...
0
votes
2
answers
343
views
Watch Face isn't recognised as a standalone app by Google Play store
I am developing a watch face using the Watch Face Format. My watch face consists of a Wear OS bundle (the watch face itself) and an optional companion app for the mobile phone.
I have set my watch ...
2
votes
1
answer
421
views
RemoteActivityHelper.startRemoteActivity not working with Android Wear OS 4 Emulator
I am developing a companion app for my Android Wear OS watch face. I am trying to use the startRemoteActivity method to launch Google Play store an a watch, where a user can download the watch face (a ...
1
vote
0
answers
116
views
Debugging Wear OS Watch Face
I have installed a fresh copy of Android Studio (2021.1.1 Patch 1), downloaded the watch face sample provided on https://github.com/android/wear-os-samples/tree/main/WatchFaceKotlin, and am trying to ...
2
votes
0
answers
211
views
Change complication color dynamically? (Wear OS Jetpack Watch Face API)
How do I change the complication icon color dynamically in the renderer class?
I can set the color and other styles while creating the watchface in the createComplicationSlotsManager inside the ...
0
votes
2
answers
253
views
How to approach resolving error in Logcat
I'm currently trying to wrap my head around developing WearOS watch faces for personal and company-internal use. I managed to adapt the WatchFaceKotlin example to an acceptable level for an analog ...
0
votes
2
answers
375
views
Watch Face Format XML: Complication slot has only the "Empty" option
When creating a watch face with the Watch Face Format XML, the complication has only the "Empty" slot option available on the Watch app on the mobile phone. On the smartwatch, all available ...
5
votes
2
answers
1k
views
Using Watch Face Format, how can I add a customizable complication to my watch face?
I am trying to add a complication to my watch face using Watch Face Format. I am following the guide at https://developer.android.com/training/wearables/wff/complication/complication, however the ...
3
votes
0
answers
213
views
Wear OS Watch Face Transition Animation
Stock Samsung watch faces that come with Watch 6 have this wonderful animations that are displayed when user activates/switches to the face from the face selection screen. The hands of the clock ...
1
vote
1
answer
530
views
WearOS: tap action for watch face complication
I want to create watch face complication which will use data from my data provider project. I want to display it in a widget on the Watch Face in a way, so user can see some data from my app on tha ...
0
votes
0
answers
242
views
How to get the step counter from Google Fit in a Wear OS Watchface?
I'm trying to develop a Watchface in Kotlin and I'm facing some difficulties in obtaining the number of steps and other data. I'm really a beginner in this subject and in Kotlin, so please be kind c:
...
2
votes
1
answer
590
views
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....
1
vote
1
answer
798
views
Androidx wearos watchface set default complication data source
I can't manage to set my own default complications on my own watchface (same app, same package).
I'v used DefaultComplicationDataSourcePolicy for the complicationSlotManager :
sealed class ...
2
votes
1
answer
415
views
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 ...
3
votes
1
answer
718
views
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 ...
2
votes
2
answers
1k
views
Gles2WatchFaceService deprecated? What now?
For my Wear OS watch face project, I am using Gles2WatchFaceService so the watch face has smooth OpenGL animation when needed. I just updated in build.gradle the following dependency:
implementation '...
2
votes
1
answer
486
views
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 ...
0
votes
1
answer
867
views
Adding background image using Watch Face library (Wear OS)
Last month Google / Jetpack released the stable version of the Watch Face library (blog post). It is stated that:
The androidx.wear.watchface package is the new recommended library for developing ...
6
votes
1
answer
1k
views
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 ...
1
vote
0
answers
330
views
How do i get api for MI Band 6 watch faces?
I want to create an application that will display collection of all mi band 6 watch faces available to download.I saw some of the application on google playstore that already had these feature .I ...
3
votes
1
answer
173
views
What does PROPERTY_OFFLOAD_SUPPORTED mean?
WatchFaceService has a method public void onPropertiesChanged(Bundle properties) which returns a bundle of properties. One of them has a key PROPERTY_OFFLOAD_SUPPORTED.
Here are all properties that ...
1
vote
1
answer
341
views
How do i make this kind of menu for my wear os watchface?
I'm trying to create a watch face and trying to implement customizability. So when I saw a "Styles" option on the Elements Digital I found this as a perfect implementation. Since I down own ...
0
votes
1
answer
490
views
Run Wear OS watch face as widget on phone
Abstract
I am a Wear OS watch face developer with few existing faces.
I would like to make them available as widgets on the phone.
Ideally, I would like to package the widget with the existing face to ...
3
votes
1
answer
651
views
How to add complications by default in wearOS android
Developer.android says:
void setDefaultSystemComplicationProvider (int watchFaceComplicationId,
int systemProvider,
int type)
but does not works for me.
1
vote
1
answer
469
views
Wear OS animation Android
How can i animate a line on a canvas in WearOS every 5 seconds?
I know that we have to use an AnimatorTask with a call to postInvalidate(). However since I am directly drawing the line on the canvas, ...
1
vote
1
answer
1k
views
Android Wear OS Watch Face Support different screen sizes
I'm playing around Watch Faces for Wear OS
Currently, I have created
Background 320x320
Tick Circle 320x320
Hours, Minutes and Seconds Hands 320x40
Everything works fine on round devices with the ...
0
votes
2
answers
136
views
Android watch face doesn't fulfill Google app quality
The story goes like this: Recently I tried to make an Android watch face app. I made the watch module and added a blank mobile module so it could be installed on a smartphone without the need of ...
0
votes
1
answer
91
views
How to simulate an analog stop watch in Android Watch Face?
I'm developing a realistic chronograph watch with Android Wear OS. I already have a seconds hand watch working well, and a stoped chronograph hand. When I tap on the watch, I want my chronograph hand ...
1
vote
2
answers
595
views
How to rotate a second's hand watch five times in a second in Wear OS?
I'm developing a watch face and want to rotate the second's hand 1.2 degrees in 1/5 of a second.
Why these numbers?
1) 360 degrees / 60 seconds = 6 degress per second
2) 6 degrees / 5 = 1.2 degrees ...
1
vote
0
answers
149
views
Problem scheduling repeating background service in Watch Face (Wear OS)
I want to schedule a background service every 5 minutes. I'm using HandlerThread and Handler to manage the threads and JobIntentService to do the task. My code is running into the onCreate method of ...
-1
votes
1
answer
186
views
Handling change of a timezone in a watch face
If you take a look at Google's example of an analog watch face you can see that they are handling timezone change using BroadcastReceiver.
In documentation, it says that onTimeTick will be ...
1
vote
1
answer
2k
views
Request permissions for an Android Wear watch face
So watch faces are Android Wear apps that don't have any activities but only a service. It's visible and interactive, but a service. And if the app wants to access anything like location or settings, ...
1
vote
1
answer
2k
views
Starting an Activity from Android Wear Watchface
I am trying to start an activity from a watchface in Android Wear on a click using:
Intent myIntent = new Intent(this, com.jorc.android.wearable.watchface.watchface.MainActivity.class);
...
0
votes
1
answer
82
views
Typing animation on Android Wear
I've been racking my brain now for a while trying to figure out away to get a typing animation on a watchface. What I'm struggling to do is get it to work as it needs to be printed on a canvas and as ...
4
votes
2
answers
310
views
Android Wear watchface StatusBarGravity Bottom not respected
I'm making a watchface for Android Wear. I would like to position the status bar at the bottom instead of at the top.
The documentation states to use the setStatusBarGravity()-method of ...
4
votes
1
answer
374
views
Deprecated methods in watch face module
I'm developing a watch face on Android.
In onCreate method when I set watch face style, I see that a bunch of methods are deprecated, but on Android official website they are not. What should I do to ...
0
votes
2
answers
269
views
Problems Finding Center of Android Wear Watchface
I have looked all over, but nothing has worked. Every time I try finding the center of the screen for my watch face, it always end up slightly higher than the center, and to the far right of the ...
4
votes
1
answer
816
views
Client not ready yet.. in Android wear watchface app
I am trying to build an app with watchface wear. my app runnning well but when I create watchface wear and set NoActivity and run wear app then it shows "Client not ready yet.." message in Run-Logcat ...
0
votes
1
answer
107
views
Using onCreate Bundle savedInstanceState with wallpaper service? (Watchface)
Im in need of some help.
Secondary Activity
package archtectsproductions.scriptpyandroidwearwatchface;
import android.app.Activity;
import android.content.res.Resources;
import android.os.Bundle;
...
0
votes
1
answer
305
views
Changing Watchface in android Wear from companion app?
We can change watchface of wear watch from google official wear app. How can I implement same functionality in my companion app? What should be the approach?
0
votes
1
answer
639
views
What is the right ComponentName to use with ProviderUpdateRequester() so Android Wear 2.0 will update my complication data?
To tell the Android Wear Watch Face my complication data has been updated, I need to use the ProviderUpdateRequester() method, but it needs a ComponentName. Which is the right component name to use?
...
0
votes
1
answer
167
views
Android Wear: Lock into watch face
I have written my own watch face app for Android wear devices and I wish to disable all other features of the watch to 'lock' the user into the watch face.
Is there any way to do this in my watch ...
1
vote
1
answer
217
views
android watch selection menu options?
How are selection options added to watch selection menu.
Some watches (eg InstaWeather) show a gear under the the selection thumbnail, and clicking the gear offers settings.
Unfortunately, I could ...
1
vote
1
answer
165
views
Where to declair the alarm manager for updating a watchface in ambient mode?
I'm trying to add an AlarmManager to update a watch face on half minute intervals.
This is for a ternary clock.
This is my first time programming with Java or android studio.
I'm following a guide at ...
2
votes
2
answers
1k
views
Code example for android-wear watch using AlarmManager to update in ambient mode?
I'm looking for an example of code for an android watch that uses the AlarmManager class to update the face in ambient mode.
Please provide a link or past the code.
Thank you.