Playing music in the background on Android


(Jiyong Park) #1

I’m developing an android music player using FMOD Studio API.

I already know about old android’s sleep mode, and the solution for it is using WakeLock and WiFiLock.

But starting with android 6.0, new power management system is introduced instead of the sleep mode thing.

(https://developer.android.com/training/monitoring-device-state/doze-standby.html)

As you may know, there are Doze mode and App Standby mode,

and Doze mode doesn’t allow an app to access network and also stops a worker thread.

So I want to know if this applies to FMOD Studio API too.

If so, any workaround or advice for this, please?


(Mathew Block) #2

We aren’t aware of any issues at present but if you encounter some problems please let us know.


(Jiyong Park) #3

I see, of course I will. Thanks!