Reputation: 4431
Well this is kind of confusing.
1- Is a Service killed when the Activity that created it, is destroyed?
2- Will a Service keep on running when there's no activity bounded to it (when the app is closed)?
3- Services need an inner Thread to avoid ANR so, what's the meaning with Services then, isn't it better to only use Threads?
Thanks in advance.
Upvotes: 1
Views: 312
Reputation: 48871
I suggest you read this...
...in particular the section titled "Application Components" - it explains a great deal.
Upvotes: 1