

, Priority = (int)IntentFilterPriority.HighPriority)] Public void RequestPermission(params string permissions)Īctivit圜ompat.RequestPermissions(this, permissions, REQUEST_PERMISSION_CODE) Var callMonitorIntent = new Intent(ApplicationContext, typeof(IncomingOutgoingBroadcastReceiver)) RequestPermission(,, ,, ) ĬallReceiver = new IncomingOutgoingBroadcastReceiver() Set our view from the "main" layout resource Protected override void OnCreate(Bundle savedInstanceState) IncomingOutgoingBroadcastReceiver callReceiver

Public class MainActivity : AppCompatActivity If anyone have a link/suggestion of a TESTED AND WORKING SOLUTION, I will like to try it. I have also tried most of the links on stackoverflow relating to this question to no avail, so please if anyone has a WORKING SOLUTION that they have tested, help. The main issue is that the Broadcast receiver that monitors the Phone.State never receives notifications about calls both incoming and outgoing. But I can't get this solution to work as required.

I want to create custom list of all calls (incoming and outgoing ) on phone using a Xamarin.Android app.
