I would like to write my first Android app using Java and I was wondering how to schedule the app to perform a certain task, or call a method at a user-specified time of day. Also, I would like this to happen without having to keep the app constantly running in the background.
Is there a way to have the user set up a time at which the Android system wakes the app to do what it’s supposed to do? Or do I have to have the app load on startup and constantly running in the background?
Yes, it’s called an Alarm. Have a look at AlarmManager.