5

Is there any way to turn a TV on or off [technically putting it to sleep] using a Google TV Android app using the standard Android APIs?

I understand that I could hack something together with IR or otherwise, but I'd really just like my app to perform the same function as pushing the TV Power button on my GTV remote.

oberfreak
  • 1,799
  • 13
  • 20
bamnet
  • 2,525
  • 17
  • 21

2 Answers2

2

Programatically toggling power for TV is not supported at this time. Please file a feature request here: http://code.google.com/p/googletv-issues/

-2

There are instructions on how to force the display on using a wakelock here:

Wakelock is not turning on the screen? Help?

That said, this is for Android phones and tablets. Whether or not GoogleTV knows to send an "on" command to the TV (either over HDMI or IR), I'm not sure. You'll have to test it and let us know how it goes. :)

Community
  • 1
  • 1
Trevor Johns
  • 15,682
  • 3
  • 55
  • 54
  • 1
    Method 1 and 3 here http://stackoverflow.com/a/6757206/1086560 were able to blank the screen, but not turn it off. – bamnet Jan 12 '12 at 07:55