Acknowledged

Touch events delivered to apps even when touchscreen is disabled

Hi Garmin Connect IQ Team,

Currently, there is no reliable way for an app to detect whether the device’s touchscreen is disabled (for example when the user has turned touch off in settings or enabled touch lock during an activity). The existing System.getDeviceSettings() properties like isTouchScreen and isTouchScreenActive only indicate hardware capability and not whether touch input is enabled or locked. As a result, even when the user has disabled touch, the app continues to receive and respond to touch events, which can lead to unintended interactions in sport/activity contexts.

This affects apps that rely on buttons and should respect the user’s preference or device lock during activities.

For example, for my app "Hyrox Smash", in a sweaty condition, it's quite risky to have the touch screen enabled. 

If there’s already a recommended approach I’ve missed, I’d be happy to hear about it. Otherwise, I’d appreciate you considering this enhancement for future SDK versions.

Thanks for your time and support.

Cheers,

Saeed from Multipassionate

Parents
  • Hi  ,
    You're absolutely right.  isTouchScreenActive is not valid. 

    I was pretty desperate [still the same haha] so I was trying everything, even when they didn't exist in the documentation. Sorry, it shouldn't have made it to the forum, but by the time I noticed, it was not possible to edit anymore. 

    If forum admins see this, please remove it from my comment :)

Comment
  • Hi  ,
    You're absolutely right.  isTouchScreenActive is not valid. 

    I was pretty desperate [still the same haha] so I was trying everything, even when they didn't exist in the documentation. Sorry, it shouldn't have made it to the forum, but by the time I noticed, it was not possible to edit anymore. 

    If forum admins see this, please remove it from my comment :)

Children
No Data