Questions tagged [foreground]
Mostly refers to an application or an element that is in the front of a view.
foreground
688
questions
0
votes
0
answers
119
views
Foreground Service not starting in Android version 14 for my Flutter App
I have implemented Foreground Services for older and newer version of Android in my flutter app. I have done all settings required still its not working. In older version of Android devices below ...
0
votes
0
answers
57
views
How to get Form to hook onto different workbook
In my current VBA code I have a workbook that stores all my code and forms, let’s call this workbook main.xlsm. In my main module function Auto_open(), I minimize main.xlsm via the WindowState ...
1
vote
1
answer
72
views
How do I tell the foreground program to send output to spool vs display?
I have a program that is running in foreground, with simple WRITE statements. When List Processing is complete, the program displays the contents of the output. When I run this program in background, ...
1
vote
1
answer
23
views
How to receive data from android Service
I have a foreground service that runs FusedLocationProviderClient. It gets gps location updates every 20 seconds.
What is the most proper way to send location data from service to activity? Use ...
0
votes
0
answers
25
views
Stop Foreground Service By javascript
I am writing an app which launches a foreground service to maintain a long-time task so that it will not be killed by OS. The app contains a html,css and javascript.
Here is my MainActivity:
public ...
0
votes
0
answers
52
views
State gets reset after opening app from pending intent
I have a countdown timer. I am using Countdown Timer object and in its onTick function I update my state with remaining time. And then I send an intent to service for updating notification to show ...
0
votes
2
answers
401
views
Android Service Error: android.app.ForegroundServiceDidNotStartInTimeException
I want to create a Service in Android to start a long activity but it crashes with the following message shown:
android.app.ForegroundServiceDidNotStartInTimeException: Context.startForegroundService(...
0
votes
2
answers
468
views
getting issue while updating my application from sdk 33 to sdk 34 on Foreground service types
`Iam upgrading my application from sdk 33 to SDK 34. while running the updated application when I am turing to the screen which uploads pictures for questionnaires , I am getting an exception
...
0
votes
0
answers
10
views
How do I get readable Foreground text color for any background image automatically?
Given a background image, how would I get a foreground color that makes text readable on that background image?
I mean computing that foreground color automatically in a program (C# preferably)?
0
votes
1
answer
31
views
Sharing WebView object between Activity and WindowManager in foreground
I am trying to show webview in foreground with floating view, i am taking webview from companion object of activity, and i added this to the floating view by removing webview' parent, and it worked ...
0
votes
0
answers
79
views
How to make event when I push the button on foreground notification?
enter image description here
I'm making timer application.
I want to show the time in notification so I'm using flutter_foreground_task (https://pub.dev/packages/flutter_foreground_task)
I want to ...
1
vote
1
answer
29
views
How to Redirect from Android MainActivity to an already running Foreground service with full screen intent
I am developing an Alarm application, when the alarm fires up it launches a full screen intent with foreground service.
If the user goes to home, then tries to open the app I want him to get ...
0
votes
1
answer
970
views
When to use the foreground service types on Android 14
i have an app that targets Android 14 and uses the camera and location feature with the necessary manifest permissions.
When i run my app and use one of those features it doesn't produce any ...
0
votes
0
answers
16
views
Open a specific page when tapped on foreground notification banner
I want to enter in a specific page when tapped on the notification banner the app is in foreground. Right now when notification appears my app automatically navigate to NotificationPage. I'm ...
1
vote
1
answer
78
views
Swift background downloadTask doesn't call willPerformHTTPRedirection
I am having an issue where using a background urlsession, and my willPerformHTTPRedirection doesn't get called:
private class BackgroundCachingDelegate: NSObject, URLSessionDelegate, ...