当前位置: 代码迷 >> Android >> bsh for android : 广州市公交实时查询
  详细解决方案

bsh for android : 广州市公交实时查询

热度:90   发布时间:2016-04-28 06:22:03.0
bsh for android : 广州公交实时查询

gzbus.bsh

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


  相关解决方案