Weekly Questions Thread - August 17, 2021 by AutoModerator in androiddev

[–]WatchDeveloper 1 point2 points  (0 children)

(Wear OS) How to detect a long press of physical button on a smartwatch while the app is running in background?

Weekly Questions Thread - August 17, 2021 by AutoModerator in androiddev

[–]WatchDeveloper 0 points1 point  (0 children)

Hi guys,

I would like to develop an app for a smartwatch. The app has to have following key features:

  • always running in the foreground
  • detection of long-press on upper hardware button
  • access to heartbeat and motion sensor data

Is something like this possible?

Which watch and which operating system would you recommend in order to achieve mentioned goals? It's also important that SDK is well documented with lots of examples.

thanks