#37 catch also intent.action.VIEW

Fermé
Créé il y a 2 ans par rz · 4 commentaires
rz a commenté il y a 2 ans

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 a commenté il y a 2 ans
Propriétaire

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

Hmmmm. I think I can make workaround for apps like this.
Umnik a commenté il y a 2 ans
Propriétaire

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 a commenté il y a 2 ans
Publier

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 a commenté il y a 2 ans
Propriétaire

Thank you for feedback!

Thank you for feedback!
Connectez-vous pour rejoindre cette conversation.
Aucun jalon
Pas d'assignataire
2 Participants
Chargement…
Annuler
Enregistrer
Il n'existe pas encore de contenu.