3,153 questions
1
vote
0
answers
18
views
How can i have counterweight hands for the AnalogClock in WFF?
I want part of the hand to remain on the non-main side of the hand.
The documentation on Android Developer suggests the following:
Specify the pivot point
Each of the hour, minute, and second ...
0
votes
1
answer
56
views
Compatibility of Wear OS Application Across Different Manufacturers with the same OS
I am currently developing an application to access the raw ppg sensor data of Samsung smartwatch that runs with Wear OS and have been in contact with the Samsung development team. They have confirmed ...
0
votes
1
answer
99
views
Message from Android App to WearOS App fails silently or throws "Failed to deliver message to AppKey"
Update: I can get messages in now, but facing this error where on the WearOS app instead of showing the message text I get "i can see the messages coming in now, but getting this error "...
0
votes
1
answer
108
views
How to build and publish a WearOS app (non-standalone / companion app)? [closed]
I developed a WearOS app which is a companion app for an existing phone app.
How should I build, upload and publish the watch app to the Play Store?
Some info about the project:
The mobile- and watch ...
2
votes
1
answer
92
views
WearOS 3: How to get updates on calendar events for a custom complication?
I'm trying to create a custom WearOS complication that shows the title of the next event. The watch has a built-in Agenda app that synchronizes with the phone's calendar. There is also a built-in ...
0
votes
0
answers
42
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 ...
0
votes
0
answers
29
views
Wear OS app - device not compatible with this version
I'm trying to test my wear OS app with a closed test in my Samsung Watch Classic 8, but I tried to upload the aab file to a Wear OS track and when I opened the link on my mobile, the play store showed ...
1
vote
1
answer
86
views
Android Wear OS: How do I open my activity or make a pop up notification, from my foreground service, when the screen is blacked out
I have an Android Wear OS emergency app, which monitors the user and looks out for emergency events. When the app is closed, I use a foreground service, to keep monitoring in the background. This ...
1
vote
1
answer
87
views
WearOS Horologist ScreenScaffold NoSuchMethodError
I'm trying to make a wearOS app with scrollable content, and the documentation suggests using ScreenScaffold to show the scroll bar on the right side. But my app keeps crashing when this composable is ...
0
votes
1
answer
62
views
WearOS protolayout Material3 Text.Builder not found
I'm writing a small app for my Pixel watch. I would like to create a tile.
I'm using the following function to create the layout.
fun tileLayout(
context: Context,
deviceParameters: DeviceParameters): ...
1
vote
1
answer
73
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 ...
1
vote
0
answers
77
views
Override physical button in wear OS
I am currently trying to override the physical buttons in wear OS devices. I have tried using Accessibility services. But I am only able to get key logs in emulator. When I tried the same code in a ...
0
votes
0
answers
65
views
WearOS launching MainActivity/Tile/Complication
I'm developing a small WearOS App including tile, complication and MainActivity. The app shall request data from an app on a smartphone. A complication shall display this data as well as the tile or ...
1
vote
0
answers
85
views
Implement a kiosk-like mode in wear OS
I’m building a Workforce Management application on Wear OS. My goal is to implement a kiosk-like mode, where:
The user should only be able to access:
My application,
Its associated tiles, and
A custom ...
4
votes
1
answer
82
views
Why is network unavailable when WearOS WorkManager runs my job?
I have a background job in a WearOS app that calls an API, updates a Work database, and notifies my tile and complications about the new data.
Sometimes the background job runs, but the network is not ...
1
vote
0
answers
44
views
onSensorChanged() isn't work only pedometer
The intent of the code I created is that whenever the data from the Pedometer changes, the data is passed in real-time via the onSensorChanged() function.
However, even though data is being collected ...
0
votes
0
answers
35
views
Does the Fitbit app affect the health information collection of apps developed by other third-party developers?
I am currently developing an app on wear os. This app uses HealthService to collect user health information when exercising (for example walking - ExerciseType = Walking).
The collected information is ...
1
vote
0
answers
38
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 ...
0
votes
1
answer
93
views
Sending and receiving messages between Android (Flutter app) and Wear OS is not working
I'm developing an Android app in Flutter. I want to send and receive messages with a Wear OS 4 connected to my phone. I've already created the Wear OS app that receives and sends messages. It ...
0
votes
0
answers
37
views
Handling Lifecycle Events (onPause/onResume) Correctly on WearOS
I'm trying to handle onPause and onResume lifecycle events in a WearOS app. My goal is to trigger these events only when the app is actually minimized/restored (not when the watch screen turns off). ...
2
votes
1
answer
70
views
AmbientLifecycleCallback does not get called
I want to write an Always-on app for Wear OS. My Samsung watch is using Android 14.0.
Minimum SDK is set to 29, target and compilse SDK to 35.
Added WAKE_LOCK permission to the manifest.
Below you can ...
0
votes
0
answers
31
views
How to get focus from onRotateEvent
This simple wear os app in Kotlin has a round screen with a beam which rotates clockwise with constant speed. By rotating the bezel the beam movement can be accelerated or deaccelerated. In case the ...
2
votes
1
answer
175
views
Pixel Watch 3(Wear OS by Google). Is there way how to disable crown button programmatically?
I am developing an app using Google's Pixel Watch 3 (Wear OS by Google 5.0).
I am looking for a solution to the problem of accidentally pressing the crown and being taken to the home screen(watch face)...
1
vote
1
answer
60
views
Jetpack Compose WearOS the PositionIndicator doesn't show for RotaryScrollEvents
I've got a WearOS Pixel 3, and my app UI doesn't fit on the screen. Thanks to a lot of help from here and other places, I've figured out how to scroll the UI with both a gesture any by spinning the ...
0
votes
0
answers
69
views
Android Wear OS Ble advertising
When I test ble advertising with your Galaxy Watch hundreds of times in a row, I got too many advertisers error and Bluetooth will no longer work.
If I turn off Bluetooth in your watch settings or ...
0
votes
0
answers
42
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 ...
1
vote
1
answer
273
views
Android 14 BAL Hardening Warning for PendingIntent in Wear OS (Target SDK 34+)
I’m developing a standalone timer app for Wear OS with targetSdk 35. The app has an ongoingActivity notification and a watch face complication. When the user taps the notification or the complication, ...
0
votes
1
answer
86
views
Store data and synchronize between android phone and watch app
I am making a simple wearOS app, which counts reps for different exercises in a session. I want to be able to see the different sessions on a mobile app, but I am having trouble figuring out what how ...
1
vote
1
answer
64
views
Android Wear OS soft keyboard not displayed in keyboard list
I have developed a soft keyboard for the Android Wear OS.
This issue I'm facing is as follows:
Problem Description:
- Developed using API 34 and above
- The keyboard appears in the keyboard list ...
0
votes
0
answers
54
views
Alarm app notification not working for Galaxy Watch devices
I'm developing an standalone alarm app who setup a timer and trigger a notification using AlarmManager. Currently it's already working by triggering simple notifications, but I'm changing it to show ...
0
votes
0
answers
93
views
How do I create a wear-os view for an existing android app?
I have an existing android habit app, and I'd like to create a wear-os view for it. It'd essentially just be one more screen / view (that shows current habits and lets you check them), but for wear-os:...
0
votes
0
answers
56
views
how to update Composable function when timer is set
Basically, I am pursuing a really trivial task - setting up a timer, change button to "running", when it fires change button back to "not running". It also should work when the app ...
0
votes
0
answers
32
views
how to draw edge border on wear os
I'm trying to find out how to add a border to my WearOS app, around the edges of the screen on a watch. This would be for showing a status color for the service I'm running.
I've got a fragment which ...
1
vote
1
answer
262
views
Samsung Health Sensor API: Collecting IBI Data in Background on Galaxy Watch
I’m working with the Samsung Health Sensor API (v1.3.0) to collect Inter-Beat Interval (IBI) data from a Galaxy Watch. My goal is to gather IBI samples periodically (e.g., every hour for 10 minutes) ...
0
votes
1
answer
61
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
1
answer
115
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
68
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
56
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
93
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
57
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, ...
3
votes
2
answers
492
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 ...
1
vote
1
answer
341
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
136
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
23
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
43
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
46
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
169
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
38
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
86
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 ...
0
votes
0
answers
213
views
Stop wear os app from going to the background
I'm developing a wear os app and have the following issue:
When the watch goes dark (either by timeout or by the palm gesture) and I turn my wrist or tap the watch, I'm back at the home screen with my ...