Issue
Opening Obsidian on Android is slow, so are all solutions that uses URI/intent to interact with Obsidian, for example:
This becomes a pain point, especially with notes that usually taken on-the-go, such as:
- Reminders
- Fleeting notes
- Time log entries
Solution: Edit markdown files directly
Apps required
- MacroDroid (5 macros for free)
- Optional: Quick Settings (by Simone Sestito) to create the notification tile
Set up
MacroDroid
Create a new macro QuickAdd
in MacroDroid with the following settings:
- Trigger:
-
User Input
>Shortcut Launched
-
- Actions:
-
Variables
>Set Variable
- Select
[New Variable]
to create a local variableinput
for storing the QuickAdd input:- Select
Local
- Name:
input
- Type:
string
- Select
- Select
[User Prompt]
to define the overlay prompt:- Title:
QuickAdd
- Un-check
Display existing value
- Title:
- Select
-
Files
>Write to File
- Folder:
<YOUR_DAILY_NOTE_FOLDER>
- Filename:
{year}-{month_digit}-{dayofmonth}.md
(Use “…” to insert other fields) - Enter text:
\n-[ ] {lv:input}
(This will make a new line, insert a checkbox followed by the text previously stored in the local variableinput
.) - Select
Append to file
- Folder:
-
Home widget
The macro can be triggered using the widget MacroDroid Shortcut
. The icon is customisable.
Optional: Quick Settings (notification tile)
Although one can create notification tiles directly from MacroDroid, extra app permission must be granted to the app to do so.
The same can be achieved with the Quick Settings app:
-
Shortcuts
>App & Shortcuts #1
>Enable tile
- Edit the notification tiles, find the
Application & shortcut
tile -
MacroDroid Shortcut
>QuickAdd
Inspiration
P.S. The previous topic was deleted because I would like to clarify the use cases, but it was no longer editable.