I use WindowManager to create a floating button on the incoming call screen. When the new number calling, I can click the button, then pop up an AlertDialog to add a new contact