小编Azi*_*lvl的帖子

从屏幕截图中排除叠加层应用程序图标

我只是集思广益,然后在启动代码之前检查了它的可能性。可以说,我有一个应用程序,只要我点击屏幕上的覆盖图标,就可以截取屏幕截图,是否可以从生成的图像中排除应用程序的图标?

android screenshot overlay

5
推荐指数
1
解决办法
487
查看次数

使用带标签的中断时,java中出现“未定义标签”错误

我正在尝试分析 java 代码并查看它的作用,但在“break label”行中它给出了“未定义标签”错误。根据我的理解,java 与 c# 不同,它允许闯入当前范围之外的范围。是吗?

if (conditions) {
  // some code
  if (conditions) {
    break label;
  }
  // some code
}

for (;;) {
  if (conditions) {
    // some code
  }
  // some code
  break;
  label: 
  // some code
}
Run Code Online (Sandbox Code Playgroud)

java label break

1
推荐指数
1
解决办法
7348
查看次数

ZIP 文件结构中的“磁盘”是什么?

我目前正在为自己开发一个迷你库来压缩和提取 ZIP 文件。到目前为止,我对文档没有任何重大问题,除了我不知道 ZIP 文件中的“磁盘”是什么以及如何计算磁盘的数量:

4.3.16 中央目录记录结束:

end of central dir signature    4 bytes  (0x06054b50)

number of this disk             2 bytes   <= What does "disk" mean here?

number of the disk with the
start of the central directory  2 bytes   <= What does "disk" mean here?

total number of entries in the
central directory on this disk  2 bytes   <= What does "disk" mean here?

total number of entries in
the central directory           2 bytes

size of the …
Run Code Online (Sandbox Code Playgroud)

zip file disk file-structure

1
推荐指数
1
解决办法
1002
查看次数

标签 统计

android ×1

break ×1

disk ×1

file ×1

file-structure ×1

java ×1

label ×1

overlay ×1

screenshot ×1

zip ×1