Questions tagged [background-service]

A background service is a computer service that runs "behind the scenes" (i.e. in the background) and without user intervention.

889 questions
0
votes
0 answers

GPS reading from background service in android on regular interval?

In my application I want to get user's current locations's details using GPS, if GPS is not available it should get details from network provider. I need to update all location details on regular interval i.e after every half hour. So what should I…
0
votes
3 answers

How to run a background service in android to use accelerometer?

How to run a background service in android to use accelerometer? I am already holding a listener to detect the accelerometer values. But i want to add this to a background service. So that even the app killed then i will get the values. Please let…
user3836168
  • 15
  • 1
  • 3
0
votes
1 answer

background service is killing app when bluetooth changes state

I am trying to write a BLE wp 8.1 application which should reconnect to a BLE device when the device is in range. The problem is that when I'm trying to modify the connection state the application crashes. My starting point is…
0
votes
1 answer

Stopping background services during an android activity

I am developing an android game right now, and it requires very precise timing and synchronization. That said, it is essential that there is no lag during the game. However I sometimes get lag spikes in the game, and I know its not the GC because I…
fanar
  • 611
  • 3
  • 7
  • 15
0
votes
1 answer

is RhoMobile support developiong background services for mobile applications?

is RhoMobile support developiong background services for mobile applications? Is it possible to develop a service that always work in background and take care of something especial? If yes, is that service works fine on all supported platforms?
0
votes
1 answer

How to cancel repeating alarm after 2 hours in Android?

I want a background service which provide location update after every 20 minutes and automatically stop after 2 hours. I am able to create alarm that start service after 15 minutes ,its work fine but i am not able to stop the service or cancel the…
user8910
  • 11
  • 3
0
votes
2 answers

How to stop background(upload image into server) service in android?

Suppose i run a web service in background(upload 100 images in binary format),If i want to stop then upload stop.If i want again start upload images then again start upload and also stop service (stop upload image into server) if i want. It is…
0
votes
1 answer

notify user when any SMS modified from any SMS apps

I am devloping a simple app that notifies the user when the SMS modified from any application I am using content observer the problem is that I want to run it even if my app is off so if my app is off and some user mark a SMS as read he should get…
0
votes
1 answer

Working in background in iOS

I'm an android developer and I've started learning iOS development - not so long ago. I have an android app which I want to port onto iOS. My app has a background service which tracks user geoLocation and sends it to my server then receives response…
whizzzkey
  • 926
  • 3
  • 21
  • 52
0
votes
3 answers

Background Service Stopped When Activity Killed Or Stop or force close

My Problem Is When I M Pressing Home Button And Close My App At That Time Background Service stoped And After That It Requires To LOgin Again In App Then Background Service Will Start So How Can I Do Like Whatssapp If App Will Close Or Kiiled Then…
0
votes
2 answers

Android Background Service Bluetooth Scan

I have a service to scan Bluetooth Low Energy devices and show a notification. This works if the app is started or the the app is in background. But if the app was removed from background, the service is running but the bluetooth scan dont work. Can…
Zenco
  • 2,963
  • 3
  • 17
  • 22
0
votes
0 answers

Using WakeLock versus AlarmTimer in 10 hour background service

I have a background service that runs for a period of about 10 hours. During this period it acquires information from one of the phone's sensors (about 300 TIMES PER SECOND), processes the information, and uploads the processed information to a…
0
votes
0 answers

Create android indefinitely acceleromter service that trigger specific events

I want to use the accelerometer sensor to keep track when a user makes sudden moves. This service should be started via activity and keep running indefinitely even if application is terminated (exits). Currently everything works fine while app is…
0
votes
1 answer

Re-Launch App from Background Service

I am writing an App in Titanium Studio and I'm having a problem with opening my app from it's own background service. Any help would be greatly appreciated. I tried way too many variations to put them all in one question but I hope this gives an…
Reefa
  • 54
  • 4
0
votes
1 answer

Run background service which can not be stop by any other application.

I want to run a service which will watch all running service and running application. So for this i want to run my service permanently in background which can not be stopped by any other service.
Badoniya
  • 147
  • 1
  • 1
  • 9