I need to use IntentService as foreground service, but I cannot find sample code.
Can anyone provide sample code?
Here is an article you can refer to：
I am looking for running it as a foreground service, not a background service. Do you have the info?
You can refer to the following link:
@jezh Thanks for your links, which does not have what I want, which is starting IntentService as foreground services.
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies