open specific file in Epsilon using tasker and android intents?

34 views
Skip to first unread message

cedard...@gmail.com

unread,
Jan 21, 2024, 12:08:04 PM1/21/24
to Epsilon Notes
Has anyone figured out how to open a specific file in Epsilon using tasker and android intents?  I asked Chat GPT and got an answer that didn't work (and subsequent questioning also didn't work)

I'll paste its suggestions and maybe someone can tweak it into something that works...?

Hello, this is Bing. I'm glad you are interested in Epsilon Notes, a markdown editor for Android https://stackoverflow.com/questions/60922916/send-file-to-app-with-intents-using-tasker. According to my web search results, there is a way to use Tasker and Android intents to open a specific file in Epsilon Notes. You can use the following steps:

• Create a new task in Tasker and name it "Open File in Epsilon".

• Add an action of type "System -> Send Intent".

• Configure the action with the following parameters:

• Action: android.intent.action.VIEW

• Data: file:///path/to/file.md (replace with the actual file path)

• Mime Type: text/plain

• Package: com.ekartoyev.enotes

• Class: com.ekartoyev.enotes.MainActivity

• Target: Activity

• Save the task and run it to test it.

This should open the specified file in Epsilon Notes. You can also use variables or file selectors to choose different files dynamically. For more information, you can check out these web pages:

• Epsilon Notes: Markdown Editor - Apps on Google Play https://stackoverflow.com/questions/60922916/send-file-to-app-with-intents-using-tasker

• android - Send file to app with intents using Tasker - Stack Overflow https://notenoughtech.com/tasker/android-intents-in-tasker/

• Android intents in Tasker - NotEnoughTech https://www.reddit.com/r/tasker/comments/giz20p/project_intents_broadcast_monitor/

I hope this helps you with your Tasker and Epsilon Notes usage. blush

R 4

unread,
Jan 21, 2024, 7:05:22 PM1/21/24
to Epsilon Notes
The file isn't opened?  
I don't use Tasker, I have Termux installed on all my devices. If I don't add «file:///» before path to file, it don't works. Also filename must contain as minimum one dot. Files without an extension will not opens.

-----------

It works in Termux.

am start -a android.intent.action.VIEW -d file:///path/notename.cm com.ekartoyev.enotes/.Main

воскресенье, 21 января 2024 г. в 21:08:04 UTC+4, cedard...@gmail.com:

R 4

unread,
Jan 22, 2024, 12:19:47 AM1/22/24
to Epsilon Notes
also  the component in class «com.ekartoyev.enotes» is incorrect, not «.MainActivity» just «.Main»

понедельник, 22 января 2024 г. в 04:05:22 UTC+4, R 4:
Reply all
Reply to author
Forward
0 new messages