Start activity when calling

XverhelstX

Well-Known Member
Licensed User
Longtime User
Heey everyone,

I have a new question.
So I want to start an activity, that will overlay the call dialog, but instead you see the activity.

Something like this in a service:
B4X:
Sub PE_PhoneStateChanged (State As String, IncomingNumber As String, Intent1 As Intent)
ToastMessageShow(IncomingNumber,True)
StartActivity(Main)
End Sub

thank you,

XverhelstX
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…