[android-beginners] Re: problem with service

2009-08-28 Thread Lutz Schönemann
A service is not running in it's own thread by default. It uses the main thread (same thread as your activity). It is a little confusing if you look at the lifecycles of a service and an activity so you might think that it is running in the background by default. What you should do is

[android-beginners] Re: problem with service

2009-08-28 Thread Teal
Thanks for the useful explanation, Lutz. This might be a newbie question, but if you're spawning a new thread anyway, why run it in a Service? Why not just spawn from Activity? Thanks. On Aug 28, 6:25 am, Lutz Schönemann lutz.schoenem...@sit.fraunhofer.de wrote: A service is not running in

[android-beginners] Re: problem with service

2009-08-27 Thread Justin Anderson
Some source code might help... -- There are only 10 types of people in the world... Those who know binary and those who don't. -- On Wed, Aug 26, 2009 at 4:56