This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class AlarmBroadcaster extends BroadcastReceiver { | |
| @Override | |
| public void onReceive(Context context, Intent intent) { | |
| //Remember in the SetAlarm file we made an intent to this, this is way this work, otherwise you would have to put an action | |
| //and here listen to the action, like in a normal receiver | |
| createNotification(context); | |
| } | |
| public void createNotification(Context context) { |