Category "foreground-service"

Collect Flows in Service

So, I'm trying to collect data from flows in my Foreground service (LifecycleService) in onCreate(), but after the first callback, it is not giving new data. Th

Life cycle of foreground service started with setForegroundAsync

In the documentation of setForegroundAsync it says: "This specifies that WorkRequest is long-running or otherwise important. In this case, WorkManager provides

Android: Check if my app is allowed to run background activities

I have an app that runs a stopwatch service, and I run the service in the foreground. I have a notification showing the timer, that updates each second. The not

How can I open app when screen is off from foreground service?

Android: 11 NETStandard.Library: 2.0.3 Xamarin.Forms: 5.0.0.2012 Permissions(i tried): "android.permission.FOREGROUND_SERVICE" "android.permission.INSTANT_APP_F

Android Studio media player doesnt play when the app is closed

I made an Android app that should play a sound when event is received, it works when app is in focus, but when the app is closed/collapsed sound doesnt play, on

I'm trying to develop an android and I need some advices

I'm trying to develop an app that retrieves from firebase the state of electric doors in some different cities and if a door error exists in any city, the app w

I must foreground service when receives location information only once in android 10 and above?

hello friends, i want receive update user location and show in text view only once and remove update location when it received. i must use foreground service f

Flutter-Android how to use the camera while the app is in foreground/background

is it possible to use the camera while the app is in the foreground or background? I tried with these two packages flutter_foreground_task and flutter_backgroun