Questions tagged [compose-wear]

6 questions
4
votes
2 answers

Problem with BasicTextField in Jetpack Compose on Wear OS

I'm new in Compose and I'm having a problem with input text field on Wear OS. The problem is that I can't get soft keyboard to work as it usually does on Android. Also, when I tried to implement the same layout in XML - it worked. So, when I tap on…
Dmitry
  • 2,766
  • 1
  • 18
  • 17
2
votes
0 answers

Share same ViewModel in different Activities (Jetpack Compose, Hilt)

I have an Jetpack Compose Wear App with a MainActivity with a Navigation Graph and a ViewModel. Now, if I navigate to a specific route (in this case "walk") I want a new activity (WalkActivity) to start, but want the same ViewModel and NavController…
2
votes
0 answers

Jetpack Compose: Keyboard input doesn't seem to work on physical Wear OS device

I'm working on a Baybayin (it's an ancient Filipino writing script) keyboard for our app and it's developed in Wear OS using Jetpack Compose. I tried the code here: https://stackoverflow.com/a/70294785/16028653. It works perfectly as intended on my…
2
votes
2 answers

Detecting counter clockwise rotary input, Wear OS Jetpack Compose

I'm trying to implement rotary input scrolling (currently with Galaxy Watch 4, so the bezel controls rotary input) on a Horizontal Pager. I can get it to move forward, but not backwards, no matter what direction I move the bezel in. How do I detect…
cjrcodes
  • 21
  • 1
2
votes
0 answers

How to bring Compose for Wear OS App to foreground when app is in background or when screen is locked?

I want to create a simple Countdown App and when onFinish() is called I want my custom vibration to run (and bring app to foreground) even if app is running in background or screen is locked. Following version is working fine when app is active.…
2
votes
1 answer

how to implement positionindicator for bezel (Galaxy watch 4 Classic) wear os 3.0 (jetpack compose)?

They know how to implement the scroll by bezel (Galaxy watch 4 Classic) in wear os 3.0 with jetpack compose In the documentation it mentions the use of ScalingLazyListState or ScrollState but so far the scroll with the rotating bezel of my device…