Android - Run in background - Service vs. standard java class

Posted by Chris on Stack Overflow See other posts from Stack Overflow or by Chris
Published on 2010-06-18T05:10:32Z Indexed on 2010/06/18 5:23 UTC
Read the original article Hit count: 336

Filed under:
|
|
|
|

In Android, if I want to do some background work, what is the difference between

Creating a Service to do the work, and having the Activity start the Service VS. Creating a standard java class to do the work, and having the Activity create an object of the class and invoke methods, to do the work in separate threads

Thanks Chris

© Stack Overflow or respective owner

Related posts about android

Related posts about class