how to create a background worker, which continues sending data to server after home button clicked?

You must Login before you can answer or comment on any questions.

Is it possible to implement a background worker using titanium which can get the current position and send it to the server?

— asked 11 months ago by Ryan popa
0 Comments

1 Answer

Yes but the background Service is usually terminated after 10 minutes. If that fulfills your requirement check the API.

— answered 11 months ago by Alexander Bauer
answer permalink
2 Comments
  • why does the background service terminate after 10 minutes? Is this the way it performs on android and iOS? Or i it because of titanium?

    — commented 11 months ago by Ryan popa

  • Its because of the OS, imagine a user has 10 Apps which perform background services.. the battery would run low in few hours and the users would blame the manufacturer (e.g. Apple) therefore its limited to 10 minutes.

    — commented 11 months ago by Alexander Bauer

Your Answer

Think you can help? Login to answer this question!