I want to use monodroid to develop an android application which runs as a background service.
Can anyone provide a pointer to sample code on how to do this?
Thanks!
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.
I have a basic service example in one of my samples on GitHub. The basic idea is that you define a class that extends
Serviceand decorate it with the Service attribute in order to generate the appropriate configuration in AndroidManifest.xml (you could optionally do that yourself, but you should rarely need to).