Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.comp.os.windows-10 > #183254

Re: Windows can't take cartooning screenshots due to security policy with Android

From Marion <marion@facts.com>
Newsgroups comp.mobile.android, alt.comp.os.windows-10, rec.photo.digital
Subject Re: Windows can't take cartooning screenshots due to security policy with Android
Date 2025-04-05 08:09 +0000
Organization BWH Usenet Archive (https://usenet.blueworldhosting.com)
Message-ID <vsqogl$118g$1@nnrp.usenet.blueworldhosting.com> (permalink)
References <vspkr5$vo8$1@nnrp.usenet.blueworldhosting.com> <m5b5j3Fsv5mU3@mid.individual.net>

Cross-posted to 3 groups.

Show all headers | View raw


On Fri, 4 Apr 2025 23:42:43 +0100, David wrote :


> Here's the answer given:-
> 
> https://chatgpt.com/share/67f06002-92c0-8013-a73b-15b87b5f9a23

Thanks for that direct link to "Using adb to take screenshots on Android
when it's blocked" which is the same issue I'm having with FLAG_SECURE
since scrcpy mirrors Android two-feet tall onto Windows using ADB.

The hope is that adb operates at a lower level than does Android screencap.
Hence, the suggestion is to try the command below on my Windows PC.
 C:\> adb shell screencap -p /sdcard/screenshot.png 

I didn't need the next line of the suggestion but others might need it:
 C:\> adb pull /sdcard/screenshot.png .

Since my entire Android phone is already a Windows drive letter, that puts
the screenshot onto Windows (effectively from the Windows command line).

I just used it to answer my sister (who texts a LOT!!!!!!!!) such that I
could see her looooooooong text in an Irfanview window while I typed up a
response in the Android text window using the Windows keyboard & mouse.

You can open multiple Android mirror on Windows but they're all the same so
you need to open a few historically to read these "three pages of text".

But then I hit upon a solution using the screen capture command above!

I just kept hitting the Windows keyboard "F3" key to capture the next
scroll (people shouldn't abuse texting by figuring out how to type well!).

Since the phone is on Windows in every way, the main issue is just keeping
the mouse focus on the correct window when going back & forth between them.

OK. I'm done with my three-page text back to my sister, and I'm ready to
test the adb screenshot feature against the toonify app that restricts it.

Hmm. That's interesting. Three things to note about what happened.
1. The phone screen shows the toonified image (of course)
2. The two-foot-tall scrcpy mirror of the phone on Android showed black
3. The ADB command did not cause an error - but it didn't create an image

On a FLAG_SECURE, it just did nothing. No error. But no screenshot. Drat.
Apparently ADB's screencap command is blocked by the FLAG_SECURE setting.

When screencap tries to read the frame buffer of a secure window, the
system is apparently returning successfully a completely blank buffer.

So adb doesn't complain. It got nothing. It saved nothing. 
There must be a way around this though. There always is. But what?
-- 
I may be ignorant, but if I don't learn from every post, then I'm stupid.

Back to alt.comp.os.windows-10 | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Windows can't take cartooning screenshots due to security policy with Android Marion <marion@facts.com> - 2025-04-04 22:01 +0000
  Re: Windows can't take cartooning screenshots due to security policy with Android David <David.is@home.today> - 2025-04-04 23:42 +0100
    Re: Windows can't take cartooning screenshots due to security policy with Android Marion <marion@facts.com> - 2025-04-05 08:09 +0000
      Re: Windows can't take cartooning screenshots due to security policy with Android David <David.is@home.today> - 2025-04-05 09:54 +0100
        Re: Windows can't take cartooning screenshots due to security policy with Android Marion <marion@facts.com> - 2025-04-05 09:18 +0000
          Re: Windows can't take cartooning screenshots due to security policy with Android Marion <marion@facts.com> - 2025-04-05 09:32 +0000
            Re: Windows can't take cartooning screenshots due to security policy with Android David <David.is@home.today> - 2025-04-05 12:04 +0100
      Re: Windows can't take cartooning screenshots due to security policy with Android Andy Burns <usenet@andyburns.uk> - 2025-04-09 09:15 +0100
        Re: Windows can't take cartooning screenshots due to security policy with Android sms <scharf.steven@geemail.com> - 2025-04-10 09:44 -0700
          Re: Windows can't take cartooning screenshots due to security policy with Android Marion <marion@facts.com> - 2025-04-11 11:14 +0000
    Re: Windows can't take cartooning screenshots due to security policy with Android sms <scharf.steven@geemail.com> - 2025-04-05 07:46 -0700
      Re: Windows can't take cartooning screenshots due to security policy with Android Marion <marion@facts.com> - 2025-04-05 20:27 +0000
        Re: Windows can't take cartooning screenshots due to security policy with Android Marion <marion@facts.com> - 2025-04-06 05:22 +0000
          Re: Windows can't take cartooning screenshots due to security policy with Android Marion <marion@facts.com> - 2025-04-06 05:47 +0000
            Re: Windows can't take cartooning screenshots due to security policy with Android Paul <nospam@needed.invalid> - 2025-04-06 03:03 -0400
              Re: Windows can't take cartooning screenshots due to security policy with Android Marion <marion@facts.com> - 2025-04-06 08:07 +0000
                Re: Windows can't take cartooning screenshots due to security policy with Android Paul <nospam@needed.invalid> - 2025-04-06 04:59 -0400
                Re: Windows can't take cartooning screenshots due to security policy with Android Marion <marion@facts.com> - 2025-04-06 10:42 +0000
  Re: Windows can't take cartooning screenshots due to security policy with Android Alan <nuh-uh@nope.com> - 2025-04-04 15:49 -0700
    Re: Windows can't take cartooning screenshots due to security policy with Android Hank Rogers <Hank@nospam.invalid> - 2025-04-04 19:56 -0500
      Re: Windows can't take cartooning screenshots due to security policy with Android Marion <marion@facts.com> - 2025-04-06 08:57 +0000
        Re: Windows can't take cartooning screenshots due to security policy with Android Marion <marion@facts.com> - 2025-04-06 11:06 +0000
  Re: Windows can't take cartooning screenshots due to security policy with Android Paul <nospam@needed.invalid> - 2025-04-04 22:25 -0400
    Re: Windows can't take cartooning screenshots due to security policy with Android Marion <marion@facts.com> - 2025-04-05 07:29 +0000
  Re: Windows can't take cartooning screenshots due to security policy with Android Arno Welzel <usenet@arnowelzel.de> - 2025-04-06 13:35 +0200
  Re: Windows can't take cartooning screenshots due to security policy with Android Alan <nuh-uh@nope.com> - 2025-04-11 19:33 -0700

csiph-web