V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
cloudhuang
V2EX  ›  Android

安卓是否可以给其他应用截图?

  •  
  •   cloudhuang · 2017-01-09 16:59:50 +08:00 · 5444 views
    This topic created in 2656 days ago, the information mentioned may be changed or developed.
    有这样一个需求,在 APP 中需要对系统中的其他的 APP 截取图片,在安卓中是否可行?
    (感觉启个后台服务截取屏幕是可行的)
    7 replies    2017-01-10 11:07:45 +08:00
    cnZary
        1
    cnZary  
       2017-01-09 17:34:33 +08:00
    cloudhuang
        2
    cloudhuang  
    OP
       2017-01-09 17:41:54 +08:00
    MediaProjection ,试一下。
    leopku
        3
    leopku  
       2017-01-09 18:10:40 +08:00
    Acer 平板中有一个应用运行在后台,三指头合并就是截取当前屏幕,不管当前屏幕运行的啥应用

    LZ 说的是这个功能不?
    nicevar
        4
    nicevar  
       2017-01-09 18:21:48 +08:00
    需要权限,以前老版本系统有其他手段,现在都不行了
    ChangeTheWorld
        5
    ChangeTheWorld  
       2017-01-09 23:15:42 +08:00 via iPhone
    微信支付宝付款页面都做了保护,无法截图
    Aquamarine
        6
    Aquamarine  
       2017-01-09 23:49:50 +08:00
    @ChangeTheWorld 屏幕截图快捷键也不行?
    shily
        7
    shily  
       2017-01-10 11:07:45 +08:00 via Android
    @Aquamarine 也不行,设置 window 的标记, WINDOW_SECURITY 好像,就截图为黑屏
    About   ·   Help   ·   Blog   ·   API   ·   FAQ   ·   Mission   ·   Tools   ·   5318 Online   Highest 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 07:52 · PVG 15:52 · LAX 00:52 · JFK 03:52
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.