2

I've a control application for the smartwatch and the device goes automatically to standby mode. Is there any way to deactivate the standby mode?, I need to show the info displayed the whole time. I know that this will reduce the battery life (perhaps dramatically), but it is indispensable on my application.

Any help would be appreciated.

Jerker
  • 805
  • 4
  • 9
Ortego
  • 21
  • 2

1 Answers1

2

You can easily control the screen state of the SmartWatch by sending the CONTROL_SET_SCREEN_STATE_INTENT intent to the SmartWatch host application, which will then propagate the state to the SmartWatch device. The available states are:

  • SCREEN_STATE_OFF
  • SCREEN_STATE_DIM
  • SCREEN_STATE_ON
  • SCREEN_STATE_AUTO

If you are using the SmartExtension SDK, which I suggest you do, you can make use of the ControlExtension utility class which provides the method setScreenState(int state). There is extensive documentation available in the SDK - read more about changing screen state in the "SmartExtention API Specification", chapter 6.2.

Good luck!

Jerker
  • 805
  • 4
  • 9
  • How can you wake it up from a dimmed state? Similar like touching the screen on the SmartWatch but in code? – powder366 Jan 27 '13 at 01:41