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 (R.id.slideshow_view);
SlideView.setKeepScreenOn (true);

Like this.

♪ was surprisingly easy

Androidアプリ講座オープン
副業大学にAndroidアプリ作成講座がオープン。
アフィリエイトやドロップシッピングも学べるお得な大学。

innc.japan-power.biz
カテゴリー: Android アプリ 関連 情報   パーマリンク