状态 = app.is_running(应用程序包名)
app.info
if app.is_running("com.tencent.mobileqq") then sys.print('QQ 正在运行') end
注:上述代码中使用了非本章函数 sys.print
sys.print