Make sure your app has the WAKE_LOCK permission, and use PowerManager.WakeLock to keep the device powered up. You'll find details in the docs.
On May 21, 10:21 pm, iDeveloper <[email protected]> wrote: > Hi > > I have a slideshow function in my app and if the number of images is > more, the phone locks (screen goes black) in the middle of the > slideshow. > How can I avoid this in my app? > > Thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

