bsh for android:北京
638 ワード
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;
}
本文のブログのオリジナルの文章、ブログ、同意を得ないで、転載してはいけません.