Share cropped screenshot of custom screen area
Hi team
I'm looking for a project or plugin that enables capturing of custom size screenshots on my phone, similar to the Windows Snipping Tool on desktop.
The difference is that whereas WST copies the selected portion of the screen to clipboard I'd want to (save it in the background and) share.
There are plenty of Android apps that do this but as always I'd prefer to replace them with Tasker instead.
Once triggered, the task would display a rectangle over my current Android screen. I'd be able to drag or pinch to resize this rectangle, and then hit a button (on screen is fine, eg FAB) to confirm. The task would save a screenshot of the area inside the rectangle only, and initiate the share process.
I know I can do this with scenes, autoinput and autoshare but I am wondering if
-
anyone has done this already, project or plugin
-
how much I can achieve in native Tasker only (not currently rooted but ADB permissions or ADB WiFi is doable)
Thanks.
Posted Dec 12, 2021, 12:52 PM UTC
I did something similar in the past (Tasker Scene and WebView element) using a mix of HTML, CSS, JavaScript and Java.
If I were You, I'd check (adapt/modify) HTML projects like this one: uiCropper. Live demo here.
Will check it out, thanks.
You're welcome.