
Since 4 years ago I always used an app called Sanity that switch off WiFi, 3G and GPS during call.
I don't know if it is really more safe for human body phoning with all network off, but in doubt, I prefer not to risk.
So if you do not feel useful this flow consider it only an excercise that I've made.
Please be patient, I am not a programmer and it's my first attempt with automagic!

Basically the first flow do these things:
1. Check if Wifi is on and switch it off if a call is incoming or is outgoing
2. Do the same for GPS and mobile data connection
3. For every task a global variable is setted to 0 if the service was not active, to 1 if it was active and it has been stopped
The second flow starts when the call is terminated and checks all the variables and if thery are set to 1 it switchs on every service.
I've checked a lots of time, with only one service on, two and three and it seems to work, any advice or improvement is welcome!
Thanks to Mortuma for the explanation!
