this post was submitted on 14 Jan 2025
15 points (100.0% liked)

Open Source

31959 readers
110 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS
 

cross-posted from: https://lemmy.sdf.org/post/27882871

cross-posted from: https://lemmy.sdf.org/post/27852459

It allows to launch exported activities from various apps and helps to create useful shortcuts

2 examples where I find it to be quite useful:
1. Quick Record shortcut for Audio Recorder

It currently does not have a quick recording shortcut.
Audio Recorder Gitlab issue where a user requests the feature. Maybe attention from someone here would be helpful?

You can directy search for the app in Activity manager, open it and create a a shortcut for the Recording activity.

2. Shortcut to open Android/data folder in the native Files app

Context for the folder location I use hereFor Android 11 & onwards, you can't access the Android/data folder(without root) from regular file manager apps like Material files(awesome opensource file manager).
The Telegram X app stores it's downloaded files in a folder there.
Material files calls the native Android Files(not GFiles, documentsui.files) app to open the Android/data folder.
Activity manager can be used to create a shortcut for that

  1. Search for and open the Files app in Activity Manager and choose the Launch with parameters option for the FilesActivity
  2. Action, choose ACTION_VIEW
  3. Data = content://com.android.externalstorage.documents/document/primary%3AAndroid%2Fdata%2Forg.thunderdog.challegram%2Ffiles%2Fdocuments or any other directory you like
  4. Mime type, choose vnd.android.document/directory

You can then launch the activity with the parameter.
This will be recorded in History(the clock sign). You can long-press the entry and create a Shortcut.


Do you have any other cases or ideas where this would be usedul? Please do share them here.


On a tangent, Material files allows making shortcuts to files and folders. Markor, text editor app, allows the same too.

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here