Android Question How do i make WhatsApp like full screen incoming call window trigger?

IamTrying

Active Member
Licensed User
How do i make WhatsApp like full screen incoming call window trigger?

B4X:
    Service.StopForeground(1)
    'Service.StartForeground(1, Notification1) 
    Notification1.Sound = True
    Notification1.SetInfo("I am WhatsB4", "WhatsB4A", Main)
    Notification1.AutoCancel = True
    Notification1.Notify(1)
    Notification1.Vibrate = True

Applying above code is not triggering UI of incoming call (when phone is locked or alive).

SC20150312-182204.png


Is there any special option to trigger the incoming call window? On click i need to go to my main activity window just like notification code.
 

IamTrying

Active Member
Licensed User
"It is a different activity started with StartActivity."

> Do you know any related (B4A, B4I) reference where i can check further to continue my thesis
 
Upvote 0

Cableguy

Expert
Licensed User
Longtime User
Have you even searched for "startActivity"?
 
Upvote 0

IamTrying

Active Member
Licensed User
Maybe some misunderstanding or maybe i am not so transparent in my description.

1 - When i use "StartActivity" its opening my own app in forefront.
Which is not exactly same thing what i am trying.
tieXlUd.png


2 - What exactly i am trying to simulate is the WhatsAPP incoming call UI. which triggers the native incoming call UI of the Device.
How do you trigger that event? and on that native UI on click it opens WhatsAPP.

I hope i am clear about the point 2 here.
 
Upvote 0

Cableguy

Expert
Licensed User
Longtime User
You need to have a service that "Listens" to a particular trigger, and show your activity when triggered
 
Last edited:
Upvote 0
Top