That assumes that "my app" is an activity and that the device can go to sleep if that activity is not in the foreground.
Nithin wrote: > use this flag > > WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON > > On Apr 13, 3:31 pm, Paolo <brand...@gmail.com> wrote: >> How to can to avoid my app goes in stand by while it's running? > -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Online Training: 10-14 May 2010: http://onlc.com -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe, reply using "remove me" as the subject.