bsh for android : 北京

it2025-09-03  30

beanshell : bjtime.bsh

source("/sdcard/com.googlecode.bshforandroid/extras/bsh/android.bsh"); a = Android(); a.call("addOptionsMenuItem","Exit","exit"); a.call("webViewShow","http://open.baidu.com/special/time/"); while (true){ response = a.call("eventWait").get("result"); if (response == null) continue; print(response); if (response.get("name").equals("exit")) break; }

版权声明:本文博客原创文章,博客,未经同意,不得转载。

转载于:https://www.cnblogs.com/bhlsheji/p/4629835.html

相关资源:数据结构—成绩单生成器
最新回复(0)