小编zza*_*ari的帖子

如何使用ADB从本地存储中提取照片 - 安卓设备

我的华硕Zenfone 2设备有一些问题(没有根).

特别是,前几天,当我在国外出差,我的设备决定不再开启,在装载华硕屏幕永久停留.

做硬重置之前,我想尽量节省至少我所有的照片位于内部存储(注:我没有外接SD卡).

我正确设置了ADB软件以识别我的设备,但我无法找到照片目录.

直到现在我只使用此命令成功拉出2个目录:"sys"和"cache":

adb pull / C:\Myfile
Run Code Online (Sandbox Code Playgroud)

它似乎只传输一些文件系统.

有人知道怎么拉照片或其他文件?

android pull photos adb

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

如何检查字符串是否为空

我需要检查字符串(输入框上的用户输入)是否为空,并在按下"播放"按钮后根据该条件执行某些操作.这是我的脚本:

entry .eInput -width 50 -relief sunken -justify center -textvariable Input
button .bAction  -text "Play" -width 30 -height 5 -activebackground green -font "-12" 

bind .bAction <1> {
 if {$Input ne ""}
  { puts "string is not empty"}
 else { puts "string is empty"}
                  }
Run Code Online (Sandbox Code Playgroud)

但是当我按下"播放"按钮时,这就是错误:

wrong # args: no script following "$Input ne """ argument
wrong # args: no script following "$Input ne """ argument
    while executing
"if {$Input ne ""}"
    (command bound to event)
Run Code Online (Sandbox Code Playgroud)

有关如何解决它的任何想法?

if-statement tk-toolkit tcl

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

标签 统计

adb ×1

android ×1

if-statement ×1

photos ×1

pull ×1

tcl ×1

tk-toolkit ×1