Closed indianpoptart closed 8 years ago
If a call is in progress, and you connect to WiFi, the call gets killed since the app runs through its code. Use this snippet
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; } }
Added in v1.3
If a call is in progress, and you connect to WiFi, the call gets killed since the app runs through its code. Use this snippet