I'm trying to redirect incoming calls on a custom made UI instead of default Android screen. I have tried doing it using many ways like using CallScreeningService or InCallService but still not able to figure out the solution. Can anyone provide a small sample working solution?
User arekolek provided an answer to my question with his own source sample at the end.
I verified it working back when he posted it, and should still work on current Android versions. Hope that helps, I would suggest providing feedback to there if it does.