Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Sony Smarteyeglass で開発したアプリで画面をオンに維持したい。問題は、API で設定または設定解除するものを見つけられなかったことです。どのように行うことができますか?可能ですか?
setScreenState() メソッドを見てください。
https://developer.sony.com/reference/seg-sdk/com/sonyericsson/extras/liveware/extension/util/control/ControlExtension#setScreenState(int)
Control.Intents#SCREEN_STATE_ON を渡して、画面をオンにしておくことができます。ただし、画面を連続してオンにするとバッテリーが非常に速く消耗するため、これを使用する場合は注意してください。