Custom tiles in share sheet menu

FrameXX

Well-known member
It's a fact that apps can react on shared text, files etc... in Android.
You can usually choose with which app to share the content in share sheet menu and some app has even more options here on what to do with the shared contents. I think it would be cool to have some custom MacroDroid options here, with custom text and icons that could process simple thing like text into variables and then we could do whatever we want to with the text and MacroDroid. I think this already possible to do with IntentTask plugin, but harder to setup and understand and MacroDroid could make it easy and usable. I think many users could appreciate this. Also apps can appear in other menus when you select some text...
 

Attachments

  • Screenshot_20210528-194535.png
    Screenshot_20210528-194535.png
    95.1 KB · Views: 9
  • Screenshot_20210528-195932.png
    Screenshot_20210528-195932.png
    145.7 KB · Views: 7
Last edited:

FrameXX

Well-known member
Note that it would be good if we could use some constraints in which cases MacroDroid would appear in menu. for example only if shared text contains https://youtube.com*
 

dsnz

Well-known member
problem with share is that it's a complex thing (share images, videos, maps, etc) and the macrodroid dev has to do a lot of thinking and work to make easy to use triggers, actions, etc
but yes it's a very very interesting idea
 

FrameXX

Well-known member
problem with share is that it's a complex thing (share images, videos, maps, etc) and the macrodroid dev has to do a lot of thinking and work to make easy to use triggers, actions, etc
but yes it's a very very interesting idea
It could be just working for simple text and links for now.
 

FrameXX

Well-known member
Here's some additional news on a related subject:

Android 12 blocks third-party apps from replacing the share sheet


I know. I have already read it. However this doesn't block apps from having custom options in this share menu, only blocks fully replacing this menu.

Just another Google nonsense.

I am amazed how developer is so patient with issue he created. I would propably freak out and swear Google in his situation :LOL:

Of course response from Google does not make any logical sense at all.

We had never actually intended to allow apps to replace the share dialog, that Intent is for apps to launch the share dialog. Being able to replace the share dialog is also becoming increasingly impossible -- you couldn't implement the direct share part of the UI, nor the personal vs. work profile tabs in R, etc. This is just not something that is feasible to allow apps to replace.
 
Last edited:

Kr99

New member
There is a clipboard change trigger. You could have the macro react by doing one of the following:
  • Dialog (intrusive, likely annoying)
  • Show Notification with button actions (maybe too temporary)
  • Floating button (text impossible, hard to give meaningful options or show what will happen when pressed)
  • Open macro droid drawer (somewhat intrusive)
 
Top