I have an application that prompts the user to input a time value via timePicker. I wrote the input into file using BufferedWriter.
I want my application to edit a user setting every day at the provided time. I'm able to edit the setting using a function call in the app, but I do not know how to run this function when the application is not active.
How can I have the application run this function every day at the specified time even when the application is not active?