foreground Questions

3

Solved

I'm looking to stop/dismiss a foreground notification for a service for a mediaplayer, much similar to Google's implementation for Google Music. For instance in Google Music, if you are playing m...

36

I am using Service Class on the Android O OS. I plan to use the Service in the background. The Android documentation states that If your app targets API level 26 or higher, the system impos...

7

Solved

Hi I have a been able to get a notification displayed for my activity, and when the user clicks the notification the app restarts. However I just want it to reappear not restart. eg. it is a web ...

5

Solved

I have created the following style for a listbox that will have an image displayed next to some text: <Style x:Key="ImageListBoxStyle" TargetType="{x:Type ListBox}"> <Setter Property="Sn...
Disjointed asked 30/10, 2008 at 9:35

1

Solved

Foreground service notification shows too slowly on Android 12. Used ContextCompat.startForegroundService(...) and mContext.startForegroundService(...). It still shows in 5-10 seconds. Here is an e...
Arc asked 21/10, 2022 at 9:55

45

Solved

I am trying to write an app that does something specific when it is brought back to the foreground after some amount of time. Is there a way to detect when an app is sent to the background or broug...
Montreal asked 10/12, 2010 at 23:22

7

Solved

I have a service which I believe to have running in the foreground, How do I check if my implementation is working?
Epiglottis asked 23/6, 2011 at 10:19

4

Solved

I am new to Flutter. Can anyone post the link or code for "android foreground service example with a notification"? I googled but didn't get any good example of foreground service. I'm wo...
Rapp asked 3/7, 2019 at 4:33

5

Solved

I want to add some shine to an element on webpage. I would prefer if I don't have to add additional html to the page. I want the image to appear in front of the element rather than behind. What's t...
Satisfied asked 30/9, 2012 at 8:50

2

In Bash, it is possible to start a job in the background by putting an & at the end of the command. It is also possible to bring that job to the foreground by using the fg command, with appropr...
Hurried asked 12/8, 2015 at 11:58

16

Solved

I want to create a service and make it run in the foreground. Most example codes have notifications on it. But I don't want to show any notification. Is that possible? Can you give me some exam...
Jeremie asked 9/6, 2012 at 15:54

9

Solved

I need to check if my application is running in background or foreground and then perform some operations relatively to it. I searched a lot and a clear solution is not available. Make a parent ...
Forbade asked 12/11, 2014 at 5:32

7

Solved

In my Qt-application I open a URL in the default-browser. Afterwards I want to bring the main-window of my application to the front again. I tried all approaches I could find but none worked. All ...
Sustainer asked 22/5, 2011 at 12:22

1

Background Notifications: Working Killed notificiations: Working Token generation: Working Permissions: Verified and working What should I do to troubleshoot this properly? I have tried other metho...
Kokand asked 20/9, 2021 at 16:2

4

Is there a way to change buttons foreground in MetroWindow? I have even tried to override the IronicallyNamedChromelessButtonStyle but the foreground color was still the same. Edit: The buttons ar...
Noctambulism asked 5/2, 2014 at 12:7

7

Solved

I have a situation in which i have to intialize an object everytime when it comes from background to foreground and that should be using the NSNotificationCenter not with appdelegate because iam bu...
Rostock asked 23/7, 2014 at 12:41

4

Solved

In Linux, is there a way to run a cron job in the foreground (or interactive mode)? (I have a program that runs periodically to accept user input and do some processing. So I want to schedule it as...
Sassafras asked 7/10, 2012 at 17:59

5

When I send a push from Firebase, if the app is in background or closed, I'm receiving the notification, but when the app is open not... Debugging I've observed that it's stopping in MyMessagingSe...

5

Solved

I have a foreground service setup in Android. I would like to update the notification text. I am creating the service as shown below. How can I update the notification text that is setup within th...
Godship asked 3/4, 2011 at 7:41

3

it’s possible set the foreground property of a TextBlock by TextBlock text value? For example: Text value is Mike, foreground property is Black, value is Tim, property value is green, etc. I search...
Malkin asked 4/11, 2010 at 18:16

2

Solved

I have 2 Labels in a StackPanel and set a Foreground color to both of them... The second one shows as black, when it shouldn't. <StackPanel HorizontalAlignment="Right" Orientation="Horizontal"...
Alenaalene asked 4/2, 2013 at 13:25

1

After checking the google issue and a lot of other issues on SO, I came to the solution I added at the bottom. What I take care of is following: in onCreate AND in onStartCommand I make sure to ...
Fecund asked 30/7, 2019 at 12:53

4

Solved

In iOS, how would I instruct the OS to keep my app running even if it is no longer in the foreground? Skype Viber Empatica Zenly And many more apps does this.
Glucinum asked 15/6, 2012 at 3:2

3

I have a process that goes something like this: Run a command that generates a bunch of results in a bunch of files Open a file in vim Edit one of the results Background vim, get the next result,...
Anticlockwise asked 8/2, 2019 at 23:38

1

Solved

I'm trying to remove all storyboards from our iOS app as they are a huge mess when working in a team with Git. I'm now setting the initial ViewController in AppDelegate's application(_:didFinishLa...
Jose asked 28/2, 2019 at 16:10

© 2022 - 2024 — McMap. All rights reserved.