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
Post a Comment