Questions tagged [background-application]
64 questions
24
votes
1 answer
Background time issue for Bluetooth LE app for Iphone 4s
I am using core-bluetooth framework for my app in Iphone-4s.
This is typically has to be a background app which can run as longer as possible.
Now it is only running for 40 min - 1 hour max.
I am hoping for at least 1 day or so.
For this…

Ajit
- 241
- 2
- 4
8
votes
2 answers
Background Audio and Remote Control Support using MPMusicPlayerController on iOS 4. Is this even possible?
I've spent two days on this and have gotten nowhere. I'm trying to use [MPMusicPlayerController applicationMusicPlayer] to play audio chosen from the user's iPod library and have it run in the background as well as support remote events. Now…

Mark A. Donohoe
- 28,442
- 25
- 137
- 286
6
votes
2 answers
Detecting which audio track is playing on device in iOS Swift
I'm creating a mood tracking app that, among other things, should use information about the songs the user listens to. Specifically, I'm interested in just extracting the titles that are otherwise visible from the locked screen view, when a track is…

Ulf Aslak
- 7,876
- 4
- 34
- 56
6
votes
1 answer
BlackBerry - background application to listen starts and foreground app
I would like to create background application which will listen to what applications are started and what are moved to foreground.
Please reply
If question is not clear will explain again.
Thanks

Hare-Krishna
- 1,425
- 3
- 16
- 26
5
votes
1 answer
Android - Intercept Hardware KeyPress (PTT Button) when app is in background
I'm developing an Android app that intercepts the pressing hardware buttons and makes REST calls to their pressure.
The button that I have to intercept is the Push to talk (PTT) button, so not a regular button, such as power button or volume…

Alberto Deidda
- 506
- 1
- 4
- 13
5
votes
2 answers
iOS 7 Bluetooth - app that handles events in background even after phone restart
I want to write a tracking application, which reacts/record when users get in a car and phone automatically pair with Bluetooth hands free. I need also Id of the hands free device.
On Android it is easy, using Broadcast Receiver your app listen to…

Michal Dobrodenka
- 1,104
- 8
- 27
4
votes
3 answers
iOS 13 : How to prevent app from getting killed in background?
I am working on an app where my app need to get location in background and update it to the server. It was working fine for earlier iOS versions. But after release of iOS 13, my app is getting killed in the background. I have checked so many…

Kirti Parghi
- 1,142
- 3
- 14
- 31
3
votes
1 answer
Windows 10 IoT Core C++ Background Application referencing a C# Runtime Component
I'm trying to use the Windows 10 IoT Core C++ Background Application (based on the MSFT IoT templates).
My scenario involves creating a native (C++) Background Application that leverages an existing managed (C#) Runtime Component. I can create such…

Brian Fjeldstad
- 171
- 7
3
votes
3 answers
How to disable showing notification when it it comes to the system tray?
Hy everyone, I am developing an app where I am using Firebase Cloud Messaging. But I have situation where I don't want to user see when notification with data messages is received. I have solved that with deleting function sendNotification from…
user6450105
3
votes
2 answers
Objective-C block not being released for background-only applications
I have an application that runs in the background only (by specifying LSBackgroundOnly in the info.plist file).
The problem is, that all blocks that I run on parallel queues are not being released.
The code is executed in a memory-managed…

Thorsten Karrer
- 1,345
- 9
- 19
3
votes
1 answer
My app disappeared from "Background App Refresh" setting on iOS8
My app using iBeacon and GeoFence Services worked well in the background on iOS 7.1, but it didn’t on iOS 8.
So when I went to "Background App Refresh" setting to check my app, I realized it wasn't shown in the list. I think that's y can't enable…

cafedeichi
- 745
- 1
- 10
- 25
3
votes
1 answer
BlackBerry - Get current Process ID
I read Blackberry - How to get the background application process id but I'm not sure I understand it correctly. The following code gets the foreground process id;
ApplicationManager.getApplicationManager().getForegroundProcessId()
I have two…

gav
- 29,022
- 23
- 65
- 90
3
votes
2 answers
Android - Running background application is not visible in the task manager
I developed a music player with service to handle playing music. When I run the music player in background I can't see it in task manager. How can I make the background running application visible in task manager? Thanks~

freeman5860
- 31
- 2
3
votes
1 answer
WP8 application running in background
I'm trying to learn how to create an application on Windows Phone 8. I followed this tutorial published on msdn.
The problem is that this code doesn't work,and i don't know why. I tried to debug it. So far, i found that the problem is…

limon
- 3,222
- 5
- 35
- 52
3
votes
3 answers
Blackberry - How to get the background application process id
In my blackberry simulator i m running two application at the background now i want to retrive which are the application running in the background.I don't how to do. Is it possible to show which are the application running in the background.

Kumar
- 5,469
- 20
- 64
- 87