3,139 questions
0
votes
1
answer
38
views
Recomposition HorizontalPageIndicator
There is a HorizontalPager and a HorizontalPageIndicator. When swiping, there are 3 recompositions of the HorizontalPageIndicator. Is this normal, or did I write the code incorrectly?
@Composable
fun ...
0
votes
0
answers
30
views
Android Wear_OS 5, always-on and ambient mode
I am running Flutter in Android Studio. I have been working on an app for my Samsung Galaxy 7 ultra. I am using the wear_plus package to manage screen shape and size as well as ambient mode. My app ...
0
votes
0
answers
34
views
How do I set up an Android service in the recommended app architecture
I have inherited a WearOS app, which needs to use the watch sensors to record health data, such as heart rate, temperature and acceleration. The app is made in Java, is around 7 years old and it doesn'...
0
votes
1
answer
29
views
Wear OS HealthServices only return HeartRate when requesting supported capabilities
I'm trying to read the number of steps in the last day on Wear OS using Java. My goal is to reward the user if they achieve a certain number of steps.
To achieve this I tried using HealthServices. I ...
1
vote
0
answers
39
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
0
answers
34
views
Sending notifications using Flic button directly to multiple Wear OS watches
I'm currently building a project to enable passive communication using several Flic buttons and Wear OS watches. I currently have an Android app up-and-running where one can scan for new Flic buttons, ...
1
vote
1
answer
107
views
How to run Watch Face Format watchface in Android Studio emulator
I downloaded a sample WFF project from Google's developer docs here: https://github.com/android/wear-os-samples/tree/main/WatchFaceFormat
I imported it into Android Studio. When I try to create a Wear ...
0
votes
1
answer
94
views
Impossible to send data from Wear OS app to phone app (kotlin) with DataClient (Google services)
I am using the latest version of Android Studio. I own a Samsung Galaxy Watch 6 classic and a Samsung S24 ultra (both fully up to date firmware-wise).
I coded in Kotlin a Wear OS app for ice skaters. ...
0
votes
1
answer
75
views
How to implement confirmation overlay In Kotlin?
I need a simple example on how I should use the Confirmation overlay for wear in Kotlin. No need for buttons, just a dialog with 2-3 lines which prompts the whole screen for 3 seconds and then ...
1
vote
0
answers
21
views
Why does my DataStorage update very frequently
I'm new to Android Wear, and I'm working on refreshing complications data every 10 seconds in the Android Complications Sample project.
I use the DataStorage class to update the data, and the ...
0
votes
0
answers
37
views
GPS position not refreshed automatically
I'm currently working on a Flutter app for a watch using WearOS, since there is no plugin for targetting GPS position using a WearOS watch, you need to do it manually by using the ...
0
votes
0
answers
30
views
Adding FHIR to wearOS project
I am trying to add FHIR to my wearOS app, using Google's Open Health Stack SDK. I have been following this guide: https://google.github.io/android-fhir/use/FEL/Getting-started/
When I add the ...
0
votes
1
answer
103
views
Detecting ambient mode in Wear OS 5
I have a ComplicationDataSourceService that needs to be notified when the watch goes into ambient mode or the screen turns off. The idea is that this is for a sort of "flashlight" ...
0
votes
0
answers
33
views
WearOS: add scrollbar to VerticalPager?
Is it possible to add scroll bar to VerticalPager ?
I can add scrollbar easily with ScalingLazyColumn, but not VerticalPager. There is no documentation given by Google, but app get rejected if no ...
0
votes
1
answer
44
views
Word Navigation in red in imports
I am stuck here, can't resolve it, tried hard for a long time.
I want to use navigation in wear os projet, I can't do the imports properly.
Here is my file :
/* While this template provides a good ...