0

I am trying to run an app while it is in power saver mode, does anyone have any insight on this?

Kate Gregory
  • 18,808
  • 8
  • 56
  • 85
Makar Emelyanov
  • 167
  • 5
  • 16
  • what do you mean "while it is in power save mode"? Does your app don't run in power-save mode right now? – waqaslam Mar 11 '12 at 15:09
  • well the idea is to run the app when the phones screen turns off after a period of time. i asked on a different post how to use this mode and its in powermanager class but i need this app im working on to run while the phone turns off its screen, ya get me? thanks for the reply by the way mate – Makar Emelyanov Mar 11 '12 at 15:30
  • 1
    the best way to deal with this is to run a background service in your application. That service will run even if your screen is Off. – waqaslam Mar 11 '12 at 15:35
  • ill have a look into that, thanks very much mate – Makar Emelyanov Mar 11 '12 at 21:45

1 Answers1

0

As stated by @waqaslam, the app needs to be run as a background service. Details can be found here: http://developer.android.com/reference/android/app/Service.html

Makar Emelyanov
  • 167
  • 5
  • 16