Android application like service

Startbeitrag von Giovanni Carella am 29.03.2013 10:03

Hi guys...
anybody now a right solution to deploy a program that work like a service. My program have to send order to the server each 1 hour.

thanks...

Antworten:

Hi Giovanni

there is a solution, it's called a persistant thread... BUT, the android system is done in such a way that it's not a sure thing: ifthe system needs resources to do something, it will kill ANY application running, even one running as a persistant thread... It should restart it later when resources become available, but when is not a given... So your 1 hour delay looks like a potential problem

Best regards

von Fabrice Harari - am 29.03.2013 12:14
Hi. I changed to another tool because WM17 doesn't support Android Services.

WM18 has the "Global Thread" concept to allow run code in the background... but i don't know if this is the better solution.


Rubén

von Ruben Sanchez Peña - am 29.03.2013 12:25
Hi Ruben,
can you tell us about this other tool, compared to WM?

von Arie - am 29.03.2013 12:30
Thanks of all...now look WM18....

von Giovanni Carella - am 29.03.2013 14:49
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.