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

jQuery clickable div with working mailto link inside -

java - Getting corefrences with Standard corenlp package -

WPF: binding viewmodel property of type DateTime to Calendar inside ItemsControl -