I am having some trouble with coding an alarm app, at the moment I am trying to make the app so once the switch is turned on, the app sends a notification to the user when the time chosen in the time picker is reached. All help is appreciated.
This is the code I have so far.