Repository navigation
Schedules and Permissions
English · 한국어
Easy Diary can run work for you at a set day and time: remind you to write, back the diary up, or turn your calendar into entries. This page explains the schedule types, what happens when one runs, and every permission the app asks for — including the two Android permissions that are easy to get wrong.
Settings → Schedule setting → + (the plus button at the top right)
A schedule has:
- Day and time — pick the days of the week and a time.
- Schedule type — one of the five below.
- Schedule description — a label of your own, used in the list and in notifications.
- On/off switch — a schedule that is off keeps its settings and registers no alarm.
| Type | What it does | Notes |
|---|---|---|
| Diary writing | Posts a notification at the set time that opens the diary editor when tapped | The simplest reminder |
| Diary backup (App internal storage, database only — no photos) | Writes easy_diary.db_<yyyyMMdd_HHmmss>.zip into the app's own storage |
Only Easy Diary can read it; a folder-sync tool cannot reach it |
| Diary backup (Google Drive) | Uploads the database and the attached photos | GMS build only; needs a Google sign-in |
| Full backup (External folder) | Writes the same archive as [BETA] Backup full data into a folder you pick | A folder-sync tool can collect it; choose overwrite or a new file per run |
| [BETA] Create a diary of Google Calendar events from -30 days to +30 days | Reads your Google Calendar and creates entries for events | GMS build only |
The two Google-backed types are hidden in the FOSS build, and a Google schedule that arrives from a restored backup is switched off with a notification instead of running with nothing to do (v1.4.358 반영 예정).
- The work runs in the background (a foreground service with a progress notification for backups, WorkManager for the rest) and reports the result in a notification.
- If the phone is in Doze and a network backup fails, the app posts a Waiting for scheduled work notification; tapping it resumes the work.
- Schedules survive a reboot. They are registered again when the phone finishes booting.
- Schedules survive a restore. After a backup restore, the old alarms are cancelled, the restored schedules are inserted, and the ones that are on are registered again.
- A schedule that cannot work stops and says so. If a Google account is missing, the backup password cannot be opened, the backup folder is gone, or the exact-alarm permission is missing, the app posts a notification naming the reason instead of failing silently.
| Permission | Why the app asks | When you see it |
|---|---|---|
POST_NOTIFICATIONS |
So a schedule can tell you it ran, and so backups can show progress | Asked only when at least one schedule is turned on (v1.4.358 반영 예정) |
SCHEDULE_EXACT_ALARM |
To run a schedule at the minute you set, not "sometime around then" | Android 14 and later: a fresh install starts without it; you grant it on the system screen the app links to, and it can be revoked at any time |
SET_ALARM |
To hand an alarm to the system clock app's alarm list | Not a runtime permission |
RECEIVE_BOOT_COMPLETED |
To register your schedules again after a reboot | Not a runtime permission |
FOREGROUND_SERVICE, FOREGROUND_SERVICE_DATA_SYNC
|
To keep a full backup or restore running with visible progress | Not a runtime permission |
INTERNET |
Google Drive backup, the in-app manual, the privacy policy | Not a runtime permission |
VIBRATE |
A short vibration when a scheduled task starts or finishes | Not a runtime permission |
USE_BIOMETRIC |
Fingerprint lock | Used only if you turn the lock on |
HIGH_SAMPLING_RATE_SENSORS |
Declared for the shake gesture that opens the quick settings screen; the motion sensor is read only while that option is on | Not a runtime permission |
ACCESS_FINE_LOCATION, ACCESS_COARSE_LOCATION
|
To save the place where you wrote an entry | Asked only when you turn on Location info |
There is no storage permission and no camera permission: the app reads and writes only its own private storage, and reaches your files through the system pickers described below. (A legacy READ_EXTERNAL_STORAGE request for Android 12 and older survived until v1.4.358 — see the last section.)
A schedule is registered as an exact "alarm clock" alarm, because a backup at 02:00 that runs at 02:40 is not the backup you asked for. Android 14 and later treats permission for this as something the user grants, and it can be taken away at any time — when it is, Android deletes the alarms already registered while the schedules still look like they are on.
Since v1.4.358 the app handles that openly (v1.4.358 반영 예정):
- The schedule page shows a warning card above the schedules when exact alarms are not allowed and at least one schedule is on, with a button that opens the system screen that grants it.
- Pressing a schedule's switch without the permission leaves the switch off, explains why, and does not change the schedule.
- The app listens for the permission being granted and registers the alarms again by itself, without a restart.
- A notification — also posted after a reboot, or after restoring a backup that holds an enabled schedule — opens the schedule page and says why nothing will run yet.
Without the notification permission, notify() calls are dropped by the system: the schedule runs, but you never hear about it, and a failed backup looks exactly like a successful one.
Since v1.4.358 the app asks for the permission only when at least one schedule is turned on, instead of on every launch (v1.4.358 반영 예정). If Android will no longer show its own dialog (notifications switched off in the system settings, or denied for good), the app explains why a schedule cannot report its run and offers a button to its own notification settings. The schedule page also shows a warning card while notifications are off and a schedule is on, and clears it as soon as the permission is back.
Everything the app owns lives in its private directory (/data/user/0/me.blog.korn123.easydiary/…), which needs no permission on any Android version. When the app needs a file outside that directory, it uses the system picker instead of a permission:
| What you do | What Android shows | What the app gets |
|---|---|---|
| Back up to external storage, save a full backup | The system file picker (ACTION_CREATE_DOCUMENT) |
A one-time write grant for the file you created |
| Restore from a file, choose a backup to import | The system file picker (ACTION_OPEN_DOCUMENT) |
A read grant for the file you picked |
| Choose a folder for scheduled full backups | The folder picker (ACTION_OPEN_DOCUMENT_TREE) |
A grant the app keeps across reboots to write into that folder |
| Attach a photo (Android 13+) | The system photo picker, up to 10 images at once | A read grant for the images you picked, copied into the app immediately |
| Attach a photo (Android 12 and older) | The gallery app | A read grant for the image you picked |
| Take a photo | The camera app | The image the camera app saved into the app's own folder |
| Share a postcard or a photo | The share sheet | A FileProvider URI for the app's own file |
Because the app copies what it needs into its own directory straight away, the grant is enough — that is why no storage permission is involved.
The last leftover is gone in v1.4.358. The legacy READ_EXTERNAL_STORAGE declaration (maxSdkVersion="32") and every permission dialog that used to sit in front of the postcard, the editor's photo tool, the font picker, the local and Drive backup cards and the in-app manual were removed in #335, merged into develop (v1.4.358 반영 예정). On Android 8.0–12L each of those actions used to open a permission dialog first; now it runs straight away, and a local backup writes the folder and the password you picked instead of silently doing nothing. On Android 13 and later those dialogs were already invisible, because the platform reports the permission as granted.
- Is the schedule switched on? Open Settings → Schedule setting; an off schedule shows a grey switch.
- Is the notification permission on? If it is off, the run may have happened with no message. The warning card on the schedule page tells you.
- Are exact alarms allowed? Android 14 and later; the warning card appears when they are not.
- Is the phone killing the app? Aggressive battery savers can stop background work. Excluding Easy Diary from battery optimisation solves most of these cases.
- For Google Drive or Calendar schedules: is a Google account signed in? The app posts a sign-in notification and keeps the next run booked, so signing in again is enough (v1.4.358 반영 예정).
- For the external folder type: does the folder still exist? If it was deleted or moved, the run asks you to choose it again.
English
Developer
한국어
개발자