首页 > 移动平台 > 详细

bsh for android : 北京时间

时间:2014-04-27 14:15:36      阅读:598      评论:0      收藏:0      [点我收藏+]

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;
}



bsh for android : 北京时间,布布扣,bubuko.com

bsh for android : 北京时间

原文:http://blog.csdn.net/belldeep/article/details/24571819

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!