A background service is a computer service that runs "behind the scenes" (i.e. in the background) and without user intervention.
Questions tagged [background-service]
889 questions
0
votes
1 answer
iOS Background Service not running the first time
I am having a weird bug where the background service in iOS doesn't start the first time I hit the home button.
My code is simple:
//-- app.js
Ti.App.addEventListener('paused', function(event)
{
Ti.API.info('paused');
var bgService =…

Ronnie
- 11,138
- 21
- 78
- 140
0
votes
3 answers
How to make application icon hidden from home screen
Requirement of the project is as per following. App has only task to run a background service and sync data with server OR upload some information to server May be some notification as well. So what i want to do is to make this application invisible…

Suresh Sharma
- 1,826
- 22
- 41
0
votes
2 answers
IntentService is killed after 30 mins when my app is in background
I've created a custom Background Service, who is extending IntentService. I'm calling this class when my app goes to background via .startService(). Firsly onStartCommand is called where I'm returning START_STICKY (like I've read some other posts to…

Slavcho
- 2,792
- 3
- 30
- 48
0
votes
1 answer
Titanium - iOS Background Service not working
I'm trying to pass a variable to my backgroundService.js and them set the push time through this variable... but it is not working... only work if I manually set the time in milliseconds ...
// app.js
var timer = 2000
Ti.App.Properties.setString(…

DHennrich
- 45
- 8
0
votes
1 answer
How to launch an android service from a custom call number
I'm developing an Android application, i have a service running in background that i want to lauch it by introducing a custom ussd number. For example when i call #12345# my service starts.Thank you in advance

Mohamed Tahar Zwawa
- 103
- 1
- 2
- 6
0
votes
0 answers
BroadCastReceiver Not calling on BOOT_UP
i want to run BackGround service on boot up. so i created broadcast receiver and in on receive i called that background service as below.
public class BootReceiver extends BroadcastReceiver {
@Override
public void onReceive(Context context,…

Charan
- 63
- 1
- 3
- 9
0
votes
3 answers
How to run a service in 4.0?
Hi i have developed an service application using activity and that works great in 2.2 and 2.3 android version and it starts on boot and runs my app for once in 30 mins and sending location to server but in 4.0 the app is not running on services on…
user2306176
0
votes
2 answers
how to run my service once in 30 minutes?
Can any body say me a simple way to run an service once in half an hour?
this is not atall working can any body say how to run it once in half an hour pls.
i use this for start my app on system boot even that is not working..?
i am doing this…
user2306176
0
votes
2 answers
How to get gps location automatically android?
i am working in get gps location using tower id and gps in this i can get the current location and displaying it in toast i have to dislpay it automatically for every five minutes and also to display it in maps on android device can anybody help me.…
user2035118
0
votes
2 answers
Two background service android
In my acivity, i need to run two background service.
main background service:
class loadingTask extends AsyncTask {
@Override
protected void onPreExecute() {
// TODO Auto-generated method stub
pd =…

yakusha
- 817
- 7
- 13
- 21
0
votes
1 answer
LINQ to Sql DataBase access from background service in Windows Phone
I have a Windows Phone app which uses Linq to Sql to store and retrieve data from the DataBase which resides in Isolated Storage. Now if I create a background service for my app, whether the DataBase can be accessed by the background service?…

Vivek
- 1,823
- 1
- 19
- 39
0
votes
1 answer
How to turn Off iPhone application when enters in background?
I have made an iPhone application.
When my application enters in background.
I want to turn off fully my iPhone application,and when i again start my iPhone application it should starts from the starting page,it should not start from where i left.
I…

user1716087
- 1
- 1
0
votes
0 answers
Android: cannot pass value from service to activity using putExtra and getLongExtra
I am trying to pass a value from a service to an activity. Here is what I do:
In my service I have:
public class MyService extends Service {
...
private long b;
public static final String BROADCAST_ACTION = "test";
private final Handler…

TJ1
- 7,578
- 19
- 76
- 119
0
votes
2 answers
Passing data from app to background agent
I want to pass some data(e.g. string values) of foreground app to background agent in window phone application.
How can i do it?

Ritesh Gupta
- 171
- 1
- 2
- 19
0
votes
0 answers
Can't compare database latitude and longitude with current location
So I am trying to get current latitude and longitude and comparing it with the data I stored in my database using cursor...but when I am trying to run this app on my cell then its getting force close after some time..don't know why what the reason…

Himanshu Verma
- 111
- 1
- 3
- 9