When I set a time,how to start an activity or do some actions like button click actions(not toast) at that specific time using broadcast receiver??
Share
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.
You might need AlarmManager + Service to do that.
you can look it here
http://android-er.blogspot.com/2010/10/simple-example-of-alarm-service-using.html
and in Service class (in the link) that display Toast,
just make some new intent and startActivity(intent) there
PS. before start. It’s important that you must add this line also
like this