Dear Erel, and all B4A users
Many thanks for your respond. Please help for these;
1. Is it possible to close the
foreground service in certain time, or by clicking button event.
2. If we use a timer, is it possible to do something in exact time, by using folowing code:
If DateTime.Now = target_time_as_long Then
'do something important
End If
I have tried to use above code and did not work. But if i use following code, for usual service (not forground service), it works.
If DateTime.Now > target_time_as_long Then
'do something important
End If
But i do not want the second one, i need exact time to do something
3. How do we call or interact with
foreground service, after we close the activity/the app.
Please help me to answer those 3 question. Already tried to find in all posts but still no luck. Your help is very appreciated
Thanks in advance
Best Regards