Keep the back light on running applications

I’m making Suraidoshoapuri
Backlight is automatically switched off and the length of the slide show
I felt the darkness.

This difficulty Nde Well, I found a way to leave the backlight.

setKeepScreenOn ()

Method is called.

ImageView I’m going to implement a slide show of images set to the terminal,
The ImageView to setKeepScreenOn () sets.

SlideView = (ImageView) findViewById (;
SlideView.setKeepScreenOn (true);

Like this.

♪ was surprisingly easy

カテゴリー: Android アプリ 関連 情報   パーマリンク