我的nexus在"显示设置" 中有一个"屏幕超时" ，让我在15秒和30分钟之间选择任何地方，但这是跨电路板。只有在其中一个程序（我当前正在开发）运行时，才能禁用屏幕超时。这可能吗？
Is it possible to disable Screen timeout only when a particular program is running?
If so, how do I do that?
My Nexus One has a "Screen timeout" in "Display settings" that lets me choose anywhere between 15 seconds and 30 minutes, but this is across the board. I would like it to disable screen timeout only when one of the programs (that I currently develop) is running. Is this possible?
If this isn't possible, is it possible to disable it for only when a program is waiting for user input (via a dialog box)?
I wouldn't mind so much about the screen timeout itself, but once the screen times out, the device gets locked as well. :(
You can user Tasker to control the timeout for individual apps.
This is a developer answer, but I know that when you're coding an app for Android you have options that allow you to control the screen timeout. Google recommends that you use the user's preference by default and offer them actual options in the preferences of your app to change how your app affects the screen timeout, but technically you can do whatever you want. I have a number of apps (games, PowerAmp, etc.) that I allow permission to disable my screen timeout.