# Easy access to a note at Android

**URL:** <https://forum.obsidian.md/t/easy-access-to-a-note-at-android/50643>\
**Category:** Bug graveyard\
**Tags:** android\
**Created:** [December 26, 2022, 7:46am UTC](https://forum.obsidian.md/t/easy-access-to-a-note-at-android/50643 "2022-12-26T07:46:17Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![kvv213](https://forum.obsidian.md/user_avatar/forum.obsidian.md/kvv213/32/40177_2.png) [@kvv213](https://forum.obsidian.md/u/kvv213)\
**Post date:** [December 26, 2022, 7:46am UTC](https://forum.obsidian.md/t/easy-access-to-a-note-at-android/50643/1 "2022-12-26T07:46:17Z")

</div>

Please add [Bug] or [Feature] to your post title, then delete this line.

### Platform

iOS  
 Android

Obsidian Mobile version: v0.0.xx

* * *

Hi All!

It would be great to be able to get access to one note just with one tab from Android “desktop”.

That feature can be useful, for example, for some kind of shopping lists. And it should be opened with just one tap.

Obsidian mobile app doesn’t have an ability to place widgets. So there should be another solution like making a shortcut for opening a note in Obsidian or other MD-editor.

Any suggestions?

---

<div class="post-metadata">

**Author:** ![shallash](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/s/958977/32.png) [@shallash](https://forum.obsidian.md/u/shallash)\
**Post date:** [December 26, 2022, 1:53pm UTC](https://forum.obsidian.md/t/easy-access-to-a-note-at-android/50643/2 "2022-12-26T13:53:53Z")

</div>

> **[GitHub - Tiim/Android-Markdown-Widget: Small widget app to display a markdown...](https://github.com/Tiim/Android-Markdown-Widget)**
>
> Small widget app to display a markdown file on the home screen - GitHub - Tiim/Android-Markdown-Widget: Small widget app to display a markdown file on the home screen

---

<div class="post-metadata">

**Author:** ![shallash](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/s/958977/32.png) [@shallash](https://forum.obsidian.md/u/shallash)\
**Post date:** [December 26, 2022, 3:03pm UTC](https://forum.obsidian.md/t/easy-access-to-a-note-at-android/50643/3 "2022-12-26T15:03:54Z")

</div>

## Overview

Android homescreen shortcuts for specific commands or files using the [Advanced URI Plugin](https://vinzent03.github.io/obsidian-advanced-uri/) and the [HTTP Request Shortcuts](https://f-droid.org/en/packages/ch.rmy.android.http_shortcuts/) android app.

### Process

1. Open the HTTP Shortcuts app
2. Click the + button at the bottom right to create a new shortcut
3. In the dialog that pops up select “Scripting Shortcut”
4. Give the shortcut a name (and a description and different icon if you want)
5. Click on “Scripting” to open the Scripting editor
6. Enter the following JavaScript code:

```javascript
sendIntent({
type: 'activity',
action: 'android.intent.action.VIEW',
dataUri: '',
});

```

7. add the `obsidian://` URI in the `dataUri` string
  - The URI for a specific command can be obtained by using the [helper commands](https://vinzent03.github.io/obsidian-advanced-uri/tips/helper_commands) in the Advanced URI plugin.

8. Save changes
9. Add shortcut to homescreen (press and hold the shortcut on the main screen of the http requests app to access the menu)

> ## Note
> 
> You can avoid the Advanced URI plugin altogether if you only want to open files and not use commands. Just use [normal `obsidian://` URIs](https://help.obsidian.md/Advanced+topics/Using+obsidian+URI).

---

<div class="post-metadata">

**Author:** ![kvv213](https://forum.obsidian.md/user_avatar/forum.obsidian.md/kvv213/32/40177_2.png) [@kvv213](https://forum.obsidian.md/u/kvv213)\
**Post date:** [December 27, 2022, 7:35pm UTC](https://forum.obsidian.md/t/easy-access-to-a-note-at-android/50643/4 "2022-12-27T19:35:51Z")

</div>

The good idea but is not fully working now. The widget is not able to open Obsidian (registered bug). Markor is too ugly for my liking 🙂

---

<div class="post-metadata">

**Author:** ![kvv213](https://forum.obsidian.md/user_avatar/forum.obsidian.md/kvv213/32/40177_2.png) [@kvv213](https://forum.obsidian.md/u/kvv213)\
**Post date:** [December 27, 2022, 8:03pm UTC](https://forum.obsidian.md/t/easy-access-to-a-note-at-android/50643/5 "2022-12-27T20:03:07Z")

</div>

Variant with HTTP Shortcuts helped a lot. But I had to use not `normal` but `Browser shortcut`. `Normal` requires http or https URIs only modificators.

---

<div class="post-metadata">

**Author:** ![kvv213](https://forum.obsidian.md/user_avatar/forum.obsidian.md/kvv213/32/40177_2.png) [@kvv213](https://forum.obsidian.md/u/kvv213)\
**Post date:** [December 29, 2022, 9:35am UTC](https://forum.obsidian.md/t/easy-access-to-a-note-at-android/50643/6 "2022-12-29T09:35:47Z")

</div>

I was too optimistic according to the shortcut. It always opens **the last opened** note instead of the note passed via URI:

 ![Screenshot_20221229_122714_HTTP Shortcuts](https://forum.obsidian.md/uploads/default/original/3X/4/4/44f0d807c1581c1b587b401c4066ccab647d13e9.jpeg)

Don’t know what is wrong.

---

<div class="post-metadata">

**Author:** ![kvv213](https://forum.obsidian.md/user_avatar/forum.obsidian.md/kvv213/32/40177_2.png) [@kvv213](https://forum.obsidian.md/u/kvv213)\
**Post date:** [December 29, 2022, 10:11am UTC](https://forum.obsidian.md/t/easy-access-to-a-note-at-android/50643/7 "2022-12-29T10:11:20Z")

</div>

Think that I should use something like this obsidian://open?vault=my%20vault for opening. Will try it out 🙂

---

<div class="post-metadata">

**Author:** ![kvv213](https://forum.obsidian.md/user_avatar/forum.obsidian.md/kvv213/32/40177_2.png) [@kvv213](https://forum.obsidian.md/u/kvv213)\
**Post date:** [December 29, 2022, 11:44am UTC](https://forum.obsidian.md/t/easy-access-to-a-note-at-android/50643/8 "2022-12-29T11:44:20Z")

</div>

Did it finally with the following code for HTML Shortcuts (use browser shortcut):

`obsidian://open?vault=MyVault&file=MyFileInTheVault.md`

Then in started to open the note as it should be.  
Direct file opening like `obsidian://open?path=%2Fsystem%2FObsidian%F2MyVault%2FMyFileInTheVault.md` didn’t helped. I don’t know why. Also the escaping of the spaces and other symbols is a PITA 🙂

---

<div class="post-metadata">

**Author:** ![shallash](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/s/958977/32.png) [@shallash](https://forum.obsidian.md/u/shallash)\
**Post date:** [December 30, 2022, 12:43pm UTC](https://forum.obsidian.md/t/easy-access-to-a-note-at-android/50643/9 "2022-12-30T12:43:13Z")

</div>

That’s odd, the normal shortcuts work fine for me. But if browser shortcut works for you, alright.

Also, use this to avoid the PITA: [https://www.urlencoder.io/](https://www.urlencoder.io/)

---

<div class="post-metadata">

**Author:** ![system](https://forum.obsidian.md/uploads/default/original/3X/b/e/bec35fbd23ab28909bb6bfe62cb32eb82dd34019.png) [@system](https://forum.obsidian.md/u/system)\
**Post date:** [January 6, 2023, 12:43pm UTC](https://forum.obsidian.md/t/easy-access-to-a-note-at-android/50643/10 "2023-01-06T12:43:21Z")

</div>

Closed on January 6, 2023, 12:43pm UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
