48 questions
0
votes
0
answers
43
views
How to detect when complication is removed?
I'm trying to detect when a complication data source is removed...
The class "ComplicationDataSourceService" allow me to override the "onComplicationDeactivated", however this ...
1
vote
0
answers
41
views
Could not find dependency for ComplicationManager (androidx.wear.watchface:watchface-complications:1.2.1)
I am trying to the use facilities of the ComplicationManager in AndroidX, and to do so the Gemini AI engine tells me I need to include the following implementation directive in the dependencies block ...
1
vote
0
answers
97
views
How to preview Wear OS complications in Android Studio?
I am developing an app and it provides complications. I want to see the preview of the complication on different types (e.g. LONG_TEXT, SHORT_TEXT and RANGED etc.) in Android Studio.
Preview is ...
0
votes
1
answer
277
views
Wear OS complication is not being updated to the latest value
I am trying to update my complication from the shared SharedPreferences value which I define in my Activity like this
SharedPreferences.Editor editor = getSharedPreferences("MY_PREFS_NAME", ...
1
vote
1
answer
275
views
How to start a Wear OS app from a complication setTapAction() BroadcastReceiver?
I've created a Wear OS app with tile and complication using the built-in Android Studio project "Empty Wear App With Tile and Complications".
When the user touches the complication, I want ...
0
votes
1
answer
95
views
Wear OS Complication setTapAction(): No Broadcast
I'm creating a pending intent for complication tap like this:
override fun onComplicationRequest(request: ComplicationRequest, listener: ComplicationRequestListener ) {
class ...
3
votes
0
answers
230
views
Add custom complication data source to Samsung watch face
I created a Wear OS complication data source that exposes SHORT_TEXT and LONG_TEXT. The complication works correctly in the emulator with the built-in watch faces. When I deploy the app to the Samsung ...
0
votes
1
answer
290
views
in Wear OS add a ShortTextComplicationData with Icon
I'm trying to create a complication for Wear OS and having problem trying to add the icons, I'm using ShortTextComplicationData which can be combine with an Icon, according to the documentation Here.
...
2
votes
0
answers
83
views
There are no icons in complications on Pixel Watch and in the api30 emulator
On api less than 30 everything works, on Samsung (GW4) watches with api30 icons are also normally displayed and you can pull them out of ComplicationData.
if (complicationData.getIcon()!=null) {
...
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 ...
4
votes
1
answer
1k
views
Android wear complication update on date change
First of all, I have to say that I am a a newbie in terms of Wear OS programming (and with very little knowledge in Java programming in general :( ).
I would like to make a complications that updates ...
1
vote
3
answers
747
views
How to change text font in android complication
Android documentation says androidx.wear.watchface.complications.rendering.ComplicationDrawable has textTypeface and titleTypeface attributes. But I have found no information how to use it.
I have ...
0
votes
1
answer
817
views
Wear OS Complication Configuration Activity Not working
I was following.
https://developer.android.com/codelabs/complications#2
But when I attempt to apply it to the example watch face that android studio gives I can not seem to get passed part 3.
The ...
1
vote
1
answer
80
views
Can a complication ever appear larger than, or outside of, its designated container?
I've written a watchface that also acts as a data provider. When I add my face's complication to another watch face, if the user taps on the complication I would like to (briefly) show a full screen ...
0
votes
1
answer
540
views
Wear OS watchface with complications ambient colour
I'm designing my first watch face (just for me) I've been through the "Adding Complications to your Wear OS Watch Face" codelab (https://developer.android.com/codelabs/complications#0) and I ...
0
votes
2
answers
130
views
Can a mobile app provide data for a watch face without standalone wear app?
It's not clear for me from the docs. Is it possible for a mobile app to be data provider for complications or I must have a standalone wear app?
0
votes
1
answer
238
views
How can I draw a complication slot on my watch face?
I'm developing my own Android watch face and everything works well until now. Now, I trying to create my first complication in order to show the seconds. I know that I need to create my own Data ...
0
votes
1
answer
727
views
Android Wear - how to draw custom UI for complication TYPE_RANGED_VALUE
I have gone through the samples for creating a custom Android 2.0 watchface with support for complications. the document for ComplicationDrawable states that we can provide custom progressbars and use ...
0
votes
1
answer
93
views
Create watchface data option
I've searched but I can't seem to find if it's possible to add your own options to a watchface complications.
When you customize a watchface by long-pressing on it, you get this screen:
If you ...
1
vote
1
answer
718
views
Android Wear 2.0 Architecture issues for realtime complications
I'm developing a set of complications that I would like have regardless of the other installed apps and watch faces. Yes, at some point I am reinventing the wheel, but at the same time I am using this ...
1
vote
1
answer
358
views
Android Wear 2.0 developing a complication
I've got an existing Android app that I'd like to provide a wear 2.0 complication for. I do not wish to create a custom Wear Watch Face nor a companion Wear app - I simply wish to be able to create a ...
0
votes
1
answer
907
views
Android Wear complication update behaviour
Im trying to program complication service in Android Wear based using the RandomNumberProviderService as guide but im having trouble coming out with a way of separating the behaviour when I tap the ...
4
votes
1
answer
1k
views
How do I draw icons on a watch face from an Android wear complication provider?
Using the Complications API there's an icon type, but when it comes to drawing the icon I'm not sure how to do it.
When I'm drawing the actual watch face there doesn't seem to be a drawIcon method. E....
0
votes
1
answer
502
views
Watch Face Complication chooser never showed
I'm trying to implement complication support for my watch. Here's my AndroidManifest.
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/...