From what I under understand, your application having a service running
is basically just holding a (service) object that tells Android not to
kill your process. The service onStart methods etc. still run in your
main thread and are subject to Application not responding.
You could have a
Service doesn't. You still need to use a thread in it.
On Tue, May 26, 2009 at 8:22 PM, Gavin fjm...@gmail.com wrote:
Hello,
I want to download some data from internet. It should not block
main UI thread.
I know both thread and service can handle the work. What is the
difference
Could you explain it? I am directly using thread. what is the issue
if I don't use service?
On May 27, 11:29 am, Dianne Hackborn hack...@android.com wrote:
Service doesn't. You still need to use a thread in it.
On Tue, May 26, 2009 at 8:22 PM, Gavin fjm...@gmail.com wrote:
Hello,
I
3 matches
Mail list logo