I made an Android app to show an attractive GUI whenever there is a new outgoing or incoming call. Whenever a broadcast signal (either NEW_OTUGOING_CALL
or PHONE_STATE
) is received, my app launches, same as the Android mobile's default phone app.
Sometimes my app appears on screen and sometimes the default phone app appears on screen. Only my app should be launched to handle incoming/outgoing calls or my app should be on top of default phone app.