i want to make an android app that when device receive a call,my app could reject,answer or minimize call mode and do somethings else in device menu while device is ringing.
for this,i should get handle of default answer app of android.
i know that we can access activities from another applications,like maps
String uri = "geo:"+ latitude + "," + longitude;
startActivity(new Intent(android.content.Intent.ACTION_VIEW, Uri.parse(uri)));
how could i do this?
Create a broadcast on receiving a call and then create IDL interface for getting core Telephony service. Please refer to this and this tutorials.