1.i just wanted to know can i start the the service without creating activity in android. if yes why ? or if not then why not?
- can i put my service creation code in oncreate method directaly?
- Difference between Polymorphism and interface in java?
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.
ofcourse you can start a service without activity (like something in a receiver class)
eg
and an interface is a class that is not fully defined ie: there wont be any concrete methods in it something like abstract class but an abstract class can contain concrete methods where as an interface cannot