Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. [Wear OS] Implementing Rotary Input Support for QML ScrollView
Forum Updated to NodeBB v4.3 + New Features

[Wear OS] Implementing Rotary Input Support for QML ScrollView

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 109 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Mugito
    wrote on last edited by
    #1

    Hi Forum,

    I'm developing a Wear OS app using QML and need to implement rotary input support for a scrollable view. I want to handle the rotary events from the physical watch crown according to the Android documentation for rotary input.

    Specifically, I'm looking to:

    • Implement an onGenericMotion handler in Java
    • Connect this handler to my QML layout
    • Ensure proper focus handling for the rotary events

    Has anyone successfully integrated rotary input with QML views in a Wear OS app? Any examples or guidance would be greatly appreciated.

    Technical details:

    • Platform: Wear OS
    • UI Framework: QML
    • Input: Physical rotary/crown input
    • Reference: https://developer.android.com/training/wearables/user-input/rotary-input#java

    Thanks in advance,
    Michael

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved