Hello to all.
I am a newbie in B4A but i have studied the documentation a lot as i have searched the forum for hours.
I am trying to create a service that runs in the background. I realized that i can't display any info from the service but i have to inform the activity to display any data i want.
But how can i display a MsgBox when the service is running but the activity is paused? For example, i want to display a MsgBox (AlertDialog) every time the phone rings. I tried a lot to use Intent with ACTION_VIEW but with no success.
What i am missing?
Thank you.
:sign0144:
I am a newbie in B4A but i have studied the documentation a lot as i have searched the forum for hours.
I am trying to create a service that runs in the background. I realized that i can't display any info from the service but i have to inform the activity to display any data i want.
But how can i display a MsgBox when the service is running but the activity is paused? For example, i want to display a MsgBox (AlertDialog) every time the phone rings. I tried a lot to use Intent with ACTION_VIEW but with no success.
What i am missing?
Thank you.
:sign0144: