Action block for Android file Share Intent

adarshhegde

New member
Would it be possible to add an action block to easily trigger the built in file share screen? which allows us to share images or other files to apps like Instagram, WhatsApp etc
 

Attachments

  • Screenshot_20221120-124715.png
    Screenshot_20221120-124715.png
    378.3 KB · Views: 4

adarshhegde

New member
I have used Intent and was successful in sharing simple text data but I wasn't able to get image sharing working.
I have saved an image to a folder in Downloads/MacroDroid using "save HTTP response to file" option from HTTP request block,
now I wanted to trigger a image sharing intent to allow me to send it to any app, this is where I am having difficulties.. The mime type is image/png and the path is /Downloads/MacroDroid/test.png
 

adarshhegde

New member
I have used Intent and was successful in sharing simple text data but I wasn't able to get image sharing working.
I have saved an image to a folder in Downloads/MacroDroid using "save HTTP response to file" option from HTTP request block,
now I wanted to trigger a image sharing intent to allow me to send it to any app, this is where I am having difficulties.. The mime type is image/png and the path is /Downloads/MacroDroid/test.png
I guess a contentprovider needs to be there to generate a content:// path for the same, then it'll be usable? this will be useful if integrated as an action..
 
Top