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

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -

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