Open reox opened 2 years ago
Well that's quite strange... I'll have a look into it as soon as i find some time. Does this happen also when you share from other apps (not sketchbook) into the Deck app?
No, as said Lecturenotes and Screenshot Assistant have similar functionality, i.e., sharing the current image (selection) without saving it to sdcard. And they work just fine since #516 was solved.
Edit: I installed intent intercept and this is the output:
intent:#Intent;action=android.intent.action.SEND;type=image/png;launchFlags=0x1b080000;end
------------
ACTION: android.intent.action.SEND
MIME: image/png
URI: intent:#Intent;action=android.intent.action.SEND;type=image/png;launchFlags=0x1b080000;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 Typ: android.net.Uri$StringUri
Key: android.intent.extra.STREAM
Wert: file:///storage/emulated/0/Autodesk/SketchBook3/export/sketch1638525821843.png
In contrary, the other two apps sends a content://[...]/[...].png
URI
Awesome, thanks! Indeed, we explicitly currently only support Uri-Schemes, but no File-Schemes. Adding support for File-Scheme should be quite easy to add analogue to the Uri Scheme part. Maybe you want to try a Pull Request? :slightly_smiling_face: :rocket:
Maybe you want to try a Pull Request? š š
I would love to but my Java is quite rusty and you probably don't want copy paste stackoverflow code š
No problem, i'll implement it, just might need some time š
Please use GitHub reactions š to show that you are affected by the same issue. Please don't comment if you have no relevant information to add!
Describe the bug
Steps to reproduce the behavior:
Expected behavior
I think this worked already, hasn't it? As far as I can remember, I sucessfully uploaded sketches from Skechbook before (or maybe it was only from the Lecturenotes or Screenshot app - which still both works perfectly fine) This is similar to #516 but a different app.
It should take the image and attach it, without the requirement to save it to disk beforehand.
Screenshots
Versions
Smartphone (please complete the following information):
Stacktrace