I need a command that can perform something, lets say on 7:00 AM every day.
Is it possible?
I would appreciate if you could give me some code samples
Thank you!
I need a command that can perform something, lets say on 7:00 AM every
Share
Yes, you need the AlarmManager class, you create an intent and a calendar object (set to the time you want), then use AlarmManager to run the intent at that time (using setRepeating to make it repeat every day)