android - Running multiple instance of a service -


is possible start service multiple times. means calling startservice multiple times. know if call startservice , it'll call oncreate() -> onstartcommand(). on startservice, calls onstartcommand() without oncreate(). happens service ? creating multiple instance of service ?

no, service run in 1 instance. however, every time start service, onstartcommand() method called. @ this documentation.


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -