Disable display timeout / standby

Put your problem here if it does not fit any of the other categories.

Disable display timeout / standby

Postby Markus » Sun Jun 14, 2009 3:18 pm

Hallo,

is there are way to disable the device standby-mode or display-timeout while my app is running?
Markus
Freshman
Freshman
 
Posts: 6
Joined: Sat Jun 13, 2009 10:24 am

Top

Re: Disable display timeout / standby

Postby yglodt » Sun Dec 27, 2009 12:22 am

Markus wrote:Hallo,

is there are way to disable the device standby-mode or display-timeout while my app is running?


Bump... I would also be interested in this
yglodt
Freshman
Freshman
 
Posts: 5
Joined: Fri Dec 18, 2009 10:44 am

Postby hellshady00 » Sun Dec 27, 2009 2:29 am

using
Code: Select all
android:keepScreenOn="true"


In your layout is the safest and easiest way to do it.
Code: Select all
<RelativeLayout
      xmlns:android="http://schemas.android.com/apk/res/android"
      android:orientation="horizontal"
      android:layout_width="fill_parent"
      android:layout_height="wrap_content"
      android:keepScreenOn="true">
User avatar
hellshady00
Developer
Developer
 
Posts: 29
Joined: Thu Dec 24, 2009 11:29 pm
Location: Florida

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Google [Bot] and 39 guests