I made a kind of mp3 player, but I wanted to add functionality. I do not want to be bothered by a call or message while playing music. I already thought about 3 options, but everyone has problems:
Turn airplane mode on and off: My first idea, but when I switch to airplane mode and return to normal life, the phone will ask me to enter my PIN code ... This is not an option for me.
Turn on silent mode: it was a good idea, but when I receive a call, even if the phone is in silent mode, the music stops ...
Enable call forwarding: I could not find an easy way to do this ...
So here are my questions:
Is it easy to forward calls (programmatically)?
Do you see another way to be calm when I play mp3?
source share