globash / android-sky

Automatically exported from code.google.com/p/android-sky
0 stars 0 forks source link

Stop service when done? #16

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
As far as I can tell, the android-sky service is running all the time,
which seems like a waste of memory, considering it updates rather
infrequently. 

Wouldn't it be appropriate to shutdown the service once the worker thread
has finished?

Original issue reported on code.google.com by elsdoer...@gmail.com on 25 May 2009 at 1:05

GoogleCodeExporter commented 8 years ago
Sorry, but I don't understand.

There is just a thread waked up every x hours.
Widget have to be in memory to be show.

can you clarify ?

Original comment by kox...@gmail.com on 11 Jun 2009 at 2:00

GoogleCodeExporter commented 8 years ago
No, there is a Service object which creates and starts the thread, but never is
marked as stopped. As a result, Android will not kill the process once it has 
started
up (because processes that have active services are essentially considered 
foreground
processes, iirc).

Original comment by elsdoer...@gmail.com on 11 Jun 2009 at 2:49

GoogleCodeExporter commented 8 years ago
Has this been resolved? Also, does the Wiktionary project suffer this same 
service
issue by chance? 

Original comment by aaroninm...@gmail.com on 2 Jan 2010 at 12:39