Possible Duplicate:
start Activity at startup of phone in android
i am trying to start activity at start up of phone but whole program is not running there is a no error in program , see my coding Click here
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.
Well first of all I hope you have made some errors when showing the code. For example I hope the file is actually called
AndroidManifest.xmlnotmanifest.java. Also I will really highly recommend you to call your classes camel-cased – such a little effort and it will make your code look better.Now to the point – a problem I can see is that you do not declare a MAIN activity in your application like so:
The other thing I can suggest you is to try without the service class – this will reduce the number of steps by one and so you will have lower chance for error. I can head you up to a tutorial showing just that – starting an activity on application start going through receiver directly to activity – see the tutorial.