How to check if the current phone call is activated from a non-phone application?
What API do I need to discover?
try the following:
public boolean isCallActive(Context context){ AudioManager manager = (AudioManager)context.getSystemService(Context.AUDIO_SERVICE); if(manager.getMode()==AudioManager.MODE_IN_CALL){ return true; } else{ return false; } }