What about an Android service which has not even started yet?
Can I call such a service and if so how?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
What do you mean “call a service”?
In the case of started services; When you call
startService(), theonCreate()is called if this is the first timestartService()is called; elseonStartCommand()is called.In case of bound services, when you call
bindService(); if the service is not already running thenonCreate()is called; elseonBind()is called.