Add support for `android.intent.action.SEND_MULTIPLE`
So the map app CoMaps has a bug report button and it spits out a logs.zip file to the share menu but it cant be shared to this app even though its just a zip file.
It might be made for sending emails on closer look but you can share to discord, sms and lots of places so why not this app?
You can find it in the app if you click the button that looks like the app logo on the map screen and then press "report bug".
I was able to use App Manager to capture the exact thing its doing which is pretty handy for reporting this stuff, here's what it showed me:
URI intent://app.comaps.provider/external_files/logs.zip#Intent;scheme=content;action=android.intent.action.SEND_MULTIPLE;type=application/x-zip;launchFlags=0x1b080001;S.android.intent.extra.SUBJECT=%5B2025.07.23-4%5D%20CoMaps%20Bug%20Report;end
VERSION 1
ACTION android.intent.action.SEND_MULTIPLE
DATA content://app.comaps.provider/external_files/logs.zip
TYPE application/x-zip
FLAGS 0x1b080001
EXTRA android.intent.extra.SUBJECT 12 [2025.07.23-4] CoMaps Bug Report
EXTRA android.intent.extra.STREAM 17 content://app.comaps.provider/external_files/logs.zip
EXTRA android.intent.extra.EMAIL 13 [email protected]
Hi, thanks for the feedback.
I have been receiving many requests to add support to sharing multiple files at once with Save Locally.
The only issue I was having was in thinking of a good UI/UX.
I think it's time I finally implement it.
Oh, i didnt actually look at the name but... this is only one file but i guess its using the multiple file thing?
Oh, i didnt actually look at the name but... this is only one file but i guess its using the multiple file thing?
Yeah, that is used to send multiple files, though I have now to consider whether android.intent.extra.STREAM contains a single uri or more than one. Or maybe just use the data field?
This is the UI I plan on using for this functionality.
On the portrait layout it will be a vertical list with each shared item. I still haven't figured out what I will do for the landscape layout, maybe also a vertical list but with two columns.
For each item I plan on a header and the content. The header has the filename name and a collapse button and the content is the preview and the file info.
I probably will discard the collapsible idea and put the save button in the arrow place.
I will figure this out over this weekend, but I appreciate any feedback.
I thought a bit more and I will move the arrow to the left side of the title and put the save button in its place.
I have to decide how I will handle the items being collapsed or expanded. Things such as everything starting collapsed/expanded, a collapse/expand all button or even only the first item starting expanded.
I still have no idea how to handle the landscape version except for the two columns vertical layout.
I should be able to handle this over this weekend.
I believe I will go with this.
However I have to do a significant refactoring of the saving code, Gemini suggested I move some of it to a ViewModel, so I might not be able to do it today.