I am trying to launch my custom screen on top of native outgoing caller screen that may contain full Screen image of Caller and some buttons for actions like reject call. Using
Write a receiver for outgoing call
public class OutgoingCallReceiver extends BroadcastReceiver {
@Override
public void onReceive(final Context context, final Intent intent) {
//Write intent for yout page
}
}
add these to Manifest
add below theme to activity theme
android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen"
Open you intent after 1 second bcoz the original outgoing call screen takes 800ms to open so you need to over lay that screen, so you must call intent after 800ms. it works for me.