#qpy:http://qpython.com/s/sample.py
try:
import androidhelper
import subprocess
droid = androidhelper.Android()
s = subprocess.check_output("ls")
droid.dialogCreateAlert("title", s)
droid.dialogSetPositiveButtonText("Yes")
droid.dialogSetNegativeButtonText("No")
droid.dialogShow()
except:
print("Hello, Please update to newest QPython version from (http://play.qpython.com/qrcode-python.html) to use this feature")
你想执行什么命令?在
'ls'无需生根即可使用。在
相关问题 更多 >
编程相关推荐