Acode icon indicating copy to clipboard operation
Acode copied to clipboard

Catch share intents

Open jidanni opened this issue 4 years ago • 2 comments

This share intent was not caught. It would be more convenient if it was. That way we would have a way of opening files directly from a chrome directory listing

intent:#Intent;action=android.intent.action.SEND;type=text/plain;launchFlags=0x1b080000;S.android.intent.extra.SUBJECT=USR.DAN01.AQX;S.android.intent.extra.TEXT=file%3A%2F%2F%2Fsdcard%2FAndroid%2Fdata%2Fnet.psyberia.offlinemaps%2Ffiles%2Fdatastore%2Fcustom-maps%2FUSR.DAN01.AQX;i.org.chromium.chrome.extra.TASK_ID=848;end 
------------ 
ACTION: android.intent.action.SEND 
MIME: text/plain 
URI: intent:#Intent;action=android.intent.action.SEND;type=text/plain;launchFlags=0x1b080000;S.android.intent.extra.SUBJECT=USR.DAN01.AQX;S.android.intent.extra.TEXT=file%3A%2F%2F%2Fsdcard%2FAndroid%2Fdata%2Fnet.psyberia.offlinemaps%2Ffiles%2Fdatastore%2Fcustom-maps%2FUSR.DAN01.AQX;i.org.chromium.chrome.extra.TASK_ID=848;end 
FLAGS: 
FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT 
FLAG_RECEIVER_FOREGROUND 
FLAG_ACTIVITY_FORWARD_RESULT 
FLAG_ACTIVITY_PREVIOUS_IS_TOP 
FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET 
EXTRAS: 
1 Class: java.lang.String 
Key: android.intent.extra.SUBJECT 
Value: USR.DAN01.AQX 
2 Class: java.lang.String 
Key: android.intent.extra.TEXT 
Value: file:///sdcard/Android/data/net.psyberia.offlinemaps/files/datastore/custom-maps/USR.DAN01.AQX 
3 Class: java.lang.Integer 
Key: org.chromium.chrome.extra.TASK_ID 
Value: 848 

------------ 
MATCHING ACTIVITIES: 
Bluetooth (com.android.bluetooth - com.android.bluetooth.opp.BluetoothOppLauncherActivity) 
Copy to clipboard (com.google.android.apps.docs - com.google.android.apps.docs.drive.clipboard.SendTextToClipboardActivity) 
Save to Drive (com.google.android.apps.docs - com.google.android.apps.docs.common.shareitem.UploadMenuActivity) 
Messages (com.google.android.apps.messaging - com.google.android.apps.messaging.ui.conversationlist.ShareIntentActivity) 
Gmail (com.google.android.gm - com.google.android.gm.ComposeActivityGmailExternal) 
Nearby Share (com.google.android.gms - com.google.android.gms.nearby.sharing.ShareSheetActivity) 
GitHub (com.github.android - com.github.android.activities.ShareImageActivity) 
BAND (com.nhn.android.band - com.nhn.android.band.ActionSendActivity) 
Tweet (com.twitter.android - com.twitter.composer.ComposerActivity) 
Direct Message (com.twitter.android - com.twitter.app.dm.DMActivity) 
Twitter (com.twitter.android - com.twitter.app.fleets.page.alias.FleetThreadActivity) 
Scan code (de.markusfisch.android.binaryeye - de.markusfisch.android.binaryeye.activity.CameraActivity) 
Whoscall (gogolook.callgogolook2 - gogolook.callgogolook2.campaign.Campaign165ReportActivity) 
Whoscall (gogolook.callgogolook2 - gogolook.callgogolook2.messaging.ui.conversationlist.ShareIntentActivity) 
Term here (jackpal.androidterm - jackpal.androidterm.TermHere) 
LINE (jp.naver.line.android - com.linecorp.line.share.common.view.FullPickerLaunchActivity) 
LINE Keep (jp.naver.line.android - com.linecorp.linekeep.ui.KeepSaveActivity) 
Face Slim (org.indywidualni.fblite - org.indywidualni.fblite.activity.MainActivity) 
Firefox Nightly (org.mozilla.fenix - org.mozilla.fenix.IntentReceiverActivity) 
VLC (org.videolan.vlc - org.videolan.vlc.StartActivity) 
Send to Zoom Buddies (us.zoom.videomeetings - us.zoom.videomeetings.SendFileActivity) 

jidanni avatar May 01 '21 00:05 jidanni

Would what you have proposed remediate Acode not appearing when, as this depicts, Nextcloud invokes its Share menu for a text-file?

RokeJulianLockhart avatar Jul 29 '22 13:07 RokeJulianLockhart

(I'm not sure.)

jidanni avatar Aug 05 '22 08:08 jidanni