I have the source code of a 'Phone' app that dials a number and makes a call. How do I make it visible in a list of available applications when a person chooses any 'Phone' shortcut?
I have tried implementing the action intent filters android.intent.action.CALL
and android.intent.action.CALL_PRIVILEGED
but it only shows my app in the list AFTER I dial a number. In other words, my app gets classified as a Dialer rather than a Phone.
Is there any specific BroadcastReceiver
that I need to implement? How do I do that?