What is the difference between an Android Activity and Service -


am having great confusion between activity , service. aim run music player. in of document said, run background work activity should use service. possible invoke player thread created activity itself. moreover, thread wont destroy if activity destroyed.

if so, usage of service here ? why should use service , when use service ?

plz clarify doubt !

thanks in advance.

activity gui , service non-gui thread can run in background. more details here.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -