0

My problem is that the SmartEyeglass display is disabled after around 30 seconds of non-activity.

The SmartEyeglassUtils lib provides a requestEnterStandbyMode() method. But not a disableStandbyMode or something like that.

How can I disable the standby mode?

SSH
  • 1,609
  • 2
  • 22
  • 42
techgeek89
  • 177
  • 1
  • 2

1 Answers1

1

You can disable standby mode completely using following method call provided in SmartExtension API:

setScreenState(Control.Intents.SCREEN_STATE_ON);

Later when your app is closed, you can switch it back to automatic mode to avoid causing battery drain on SmartEyeglass.

 setScreenState(Control.Intents.SCREEN_STATE_AUTO);

You can see a similar question here. It is applicable for Sony SmartWatch 2 as well, because both devices are using SmartExtension API: Tap on SmartWatch screen in code

Community
  • 1
  • 1
Max Abrahamsson
  • 1,460
  • 3
  • 17
  • 35