Questions tagged [background-application]

64 questions
2
votes
0 answers

WebView + GPS in sleep mode or locked screen Android

i am starting in Android dev. I have a web page, this can take the latitude and longitude from html5 apis. But... i need to take gps info with locked screen (sleep mode). I think, that a good idea to start is to make an application with a WebView…
2
votes
1 answer

Detect Lock Screen in background application

I have an application which runs in background mode. And when the Lock Screen is active I need to perform some code. How do I detect when the lock screen is active from my background app?
LightNight
  • 1,616
  • 6
  • 30
  • 59
2
votes
3 answers

playing radio in background

I just need to confirm if an iPhone app can play or stream radio in the background. I created a radio app which is working fine. I want to add a feature by which the user can play radio in a background process, i.e. they don't have to keep the…
Shishir.bobby
  • 10,994
  • 21
  • 71
  • 100
2
votes
1 answer

Track geolocation when app is not running (Swift)

I can track the geolocation when app is in foreground and in background (with all the discussions about precision of location and saving battery life). However I would also need to track the user when the app is not running (not open and not in…
2
votes
2 answers

Record swipe amount when app is in the background iOS using Swift

I have been looking around for a solution and found only specific apps have background capabilities i.e. locational data and playing music. Assuming we have this permission, is there any way to record the swipe amount from all other apps and home…
2
votes
3 answers

How can I make my android application run in background

I have developed an application which take image from front camera after every 30 seconds. When I press the back button my application stops. I want to run my application in background and I have no idea how to do it. Any help will be appreciated..
Osama Naveed
  • 141
  • 1
  • 1
  • 8
2
votes
0 answers

Push Notification does not launch the background app first time Android

First to begin, there are already answered threads for this question. I have tried everything mentioned in Android Notification restarts app but want to resume Resume application and stack from notification Notification to restore a task rather than…
2
votes
1 answer

Blackberry - Running Background Application

Good afternoon. I'm starting programming in java and blackberry. I am developing an application with three windows, which I will show basic information about the device, these windows are already done and working. I need to create a process running…
Leandro
  • 21
  • 1
  • 2
2
votes
0 answers

How to keep app running in background to monitor movements

I am implementing an application to monitor user's movement/activity (when playing game/sport or sleeping in bed) using accelerometer via CMMotionManager, so I need to keep app running in background to record data, I tried to use background task but…
2
votes
2 answers

Get screenshots of all app that running in background (private API allowed)

When we press the button home twice, it will shows all app that running in background on screen. Is there a way to get all these screenshot within app (with objective-c codes) ?
tesmojones
  • 2,496
  • 2
  • 21
  • 40
2
votes
1 answer

Cocos2D, Blocks and Moving the Application to the Background

I have a Cocos2D project that does a lot of data loading via ASIHTTPRequest. The request often has a completion block attached, which could trigger Cocos2D to do something like load up a texture for displaying a game element. My problem is that it…
2
votes
1 answer

Intercept outgoing call in Blackberry

we are looking for a way to do the following: user with BB enters a number (or selects a contact and clicks 'send') our app in the background detects the call event our app does something (e.g. blocks the call / makes a call to a different number,…
OS.
  • 358
  • 4
  • 11
1
vote
1 answer

How to run RecognitionListener at the background of the app?

everyone! I am developing an application for voice recognition, and the application is able to recognize the speech right now! However, I need to run this voice recognition code at the background of the app, it has to listen to the commands all the…
1
vote
1 answer

Can i run tensorflow lite object detection in background as a service

I'm using a example of tensorflow lite object detection give on their official site, i need to run the app as a service in background to provide some data (like the location of detections) to another app that will be running normally (the user will…
1
vote
1 answer

Keep an android app running in background

I have seen many tutorials saying that to do this I have to use a service. After watching a youtube video, got this: public class MyService extends Service { public MyService() { } @Override public int onStartCommand(Intent intent,…