#37 catch also intent.action.VIEW

Closed
opened 2 years ago by rz · 4 comments
rz commented 2 years ago

Hi,

there is an exceptionally dumb app (Withings HealthMate) trying to "share" a PDF file using this (output of intent-intercept bellow). Would it be possible to catch this as well?

intent://com.withings.wiscale2.provider/cache/ecg/ecg-signal-12-17-2021_01%3A03_PM.pdf#Intent;scheme=content;type=application/pdf;launchFlags=0x3000000;end

ACTION: android.intent.action.VIEW DATA: content://com.withings.wiscale2.provider/cache/ecg/ecg-signal-12-17-2021_01%3A03_PM.pdf MIME: application/pdf URI: intent://com.withings.wiscale2.provider/cache/ecg/ecg-signal-12-17-2021_01%3A03_PM.pdf#Intent;scheme=content;type=application/pdf;launchFlags=0x3000000;end FLAGS: FLAG_ACTIVITY_FORWARD_RESULT FLAG_ACTIVITY_PREVIOUS_IS_TOP


MATCHING ACTIVITIES: MuPDF mini (com.artifex.mupdf.mini.app - com.artifex.mupdf.mini.DocumentActivity) Drive (com.google.android.apps.docs - com.google.android.apps.viewer.PdfViewerActivity) Termux (com.termux - com.termux.filepicker.TermuxFileReceiverActivity) Save as (org.openintents.filemanager - org.openintents.filemanager.SaveAsActivity)


onActivityResult: resultCode: 0

Hi, there is an exceptionally dumb app (Withings HealthMate) trying to "share" a PDF file using this (output of intent-intercept bellow). Would it be possible to catch this as well? intent://com.withings.wiscale2.provider/cache/ecg/ecg-signal-12-17-2021_01%3A03_PM.pdf#Intent;scheme=content;type=application/pdf;launchFlags=0x3000000;end ------------ ACTION: android.intent.action.VIEW DATA: content://com.withings.wiscale2.provider/cache/ecg/ecg-signal-12-17-2021_01%3A03_PM.pdf MIME: application/pdf URI: intent://com.withings.wiscale2.provider/cache/ecg/ecg-signal-12-17-2021_01%3A03_PM.pdf#Intent;scheme=content;type=application/pdf;launchFlags=0x3000000;end FLAGS: FLAG_ACTIVITY_FORWARD_RESULT FLAG_ACTIVITY_PREVIOUS_IS_TOP ------------ MATCHING ACTIVITIES: MuPDF mini (com.artifex.mupdf.mini.app - com.artifex.mupdf.mini.DocumentActivity) Drive (com.google.android.apps.docs - com.google.android.apps.viewer.PdfViewerActivity) Termux (com.termux - com.termux.filepicker.TermuxFileReceiverActivity) Save as (org.openintents.filemanager - org.openintents.filemanager.SaveAsActivity) ------------ onActivityResult: resultCode: 0
Umnik commented 2 years ago
Owner

Hmmmm. I think I can make workaround for apps like this.

Hmmmm. I think I can make workaround for apps like this.
Umnik commented 2 years ago
Owner

https://notabug.org/Umnik/SaveTo/releases see 1.15 beta. U can use attached apk or wait ~1w for f-droid or some hours or days for Google Play.

But it's beta. I need your feedback. And also F-Droid can not offer update. You need update app from f-droid manually.

You can find new param in settings.

https://notabug.org/Umnik/SaveTo/releases see 1.15 beta. U can use attached apk or wait ~1w for f-droid or some hours or days for Google Play. But it's beta. I need your feedback. And also F-Droid can not offer update. You need update app from f-droid manually. You can find new param in settings.
rz commented 2 years ago
Poster

Thanks, appears to work perfectly. Even translates the ":" in file name so that I don't have to edit the file name manually :)

Thanks, appears to work perfectly. Even translates the ":" in file name so that I don't have to edit the file name manually :)
Umnik commented 2 years ago
Owner

Thank you for feedback!

Thank you for feedback!
Sign in to join this conversation.
No Milestone
No assignee
2 Participants
Loading...
Cancel
Save
There is no content yet.