AlarmClock: ability to list/search/show/set/delete/edit alarms on the default clock app
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 4.3k
- Forks
- 920
- PR merge metrics
- No merged PRs in 30d
Description
Feature description
I very much need and want the ability to list/search/show/set/delete/edit alarms on the default clock app.
My work schedule varies greatly each day so I want to automate my alarm clock with greater control. While I know some other ways to accomplish this, I prefer Termux as much as possible and in my case Termux would also be the best tool for the job.
Automate, Tasker and the like does not seem to support a lot of what you can get out of the AlarmClock provider, only setting a new alarm. Additional plugins for these with calendar support and whatnot are quite hackish, depending on your needs.
This requires the permission com.android.alarm.permission.SET_ALARM.
Reference implementation
I'm no android developer, but the Android API seem to support this
Java example taken from here:
Intent openClockIntent = new Intent(AlarmClock.ACTION_SET_ALARM);
openClockIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
openClockIntent.putExtra(AlarmClock.EXTRA_HOUR, 10);
context.startActivity(openClockIntent);
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Begin with the Android AlarmClock provider reference and the SET_ALARM permission linked in the issue. Define the command surface and completion criteria for listing, searching, showing, setting, deleting, and editing alarms, then verify the behavior against the provider API and the linked Java example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- cli, mobile
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100