xamarin - how to open application while receive call? -
in xamarin android application have receive call using broadcastreceiver
public override void onreceive(context context, intent intent) { toast.maketext(context, "received intent!", toastlength.short).show(); dialercalllistener listener = new dialercalllistener(); sipregistration.call = sipregistration.sipmanager.takeaudiocall(intent, listener); string str = sipregistration.call.peerprofile.uristring; }
from here want check app run in foreground/background, , if background how can bring app foreground , show incoming call receiving page? help? xamarin cross platform application.
Comments
Post a Comment