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

hibernate - How to load global settings frequently used in application in Java -

python 3.x - Mapping specific letters onto a list of words -

objective c - Ownership modifiers with manual reference counting -