(android)How to Receive Turn on/Turn off Module Evnet

Android provide special app “Settings” to Turn on/Turn off module, for
example Bluetooth, GPS. Then app how to receive these Turn on/Turn off
events?

Maybe this thread from stackoverflow helps:


bluetooth-devices-working

---------- P?vodn? zpr?va ----------
Od: ancientcc
Komu: SDL
Datum: 25. 4. 2016 2:02:40
P?edm?t: [SDL] (android)How to Receive Turn on/Turn off Module Evnet

"

Android provide special app “Settings” to Turn on/Turn off module, for
example Bluetooth, GPS. Then app how to receive these Turn on/Turn off
events?_______________________________________________
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org"

I tried to write code according to http://stackoverflow.com/questions/21294943/how-to-receive-intents-for-bluetooth-devices-working, but failed.

If you write relative code and patch to SDL source code, I believe it is a very expect things:)