The android.bsh code is:
call(String method, JSONArray params) {
JSONObject request = new JSONObject();
request.put("id", id);
request.put("method", method);
request.put("params", params);
.....
seems not supporting api function with zero parameters, like batteryGetLevel().
How to solve this problem? What value should be set to "params"?
Original issue reported on code.google.com by andrea.i...@gmail.com on 16 Aug 2010 at 2:45
Original issue reported on code.google.com by
andrea.i...@gmail.com
on 16 Aug 2010 at 2:45