A simple Android application to set alarms using AlarmManager
and BroadcastReceiver
. The app allows users to select a time and set an alarm. When the alarm triggers, a toast notification is displayed.
- TimePicker: Allows users to select the desired time for the alarm.
- Set Alarm: A button to schedule an alarm at the selected time.
- Toast Notification: Displays a notification when the alarm triggers.
- Exact Alarm Permissions: Handles Android 12+ exact alarm permissions.
- Minimum SDK: 35
- Target SDK: 35
- Development Tools: Android Studio, Kotlin
- Clone the Repository:
git clone https://github.com/your-username/simple-alarm.git cd simple-alarm
- Open in Android Studio:
- Open Android Studio.
- Select File > Open and navigate to the project directory.
-
Sync Gradle: Allow Android Studio to sync all Gradle files and dependencies.
-
Run the App:
- Connect an emulator or physical device.
- Click the green Run button in Android Studio.