Searched defs:jsonObject (Results 1 - 2 of 2) sorted by relevance

/external/sl4a/Common/src/com/googlecode/android_scripting/rpc/
H A DMethodDescriptor.java245 public static Object buildIntent(JSONObject jsonObject) throws JSONException { argument
247 if (jsonObject.has("action")) {
248 intent.setAction(jsonObject.getString("action"));
250 if (jsonObject.has("data") && jsonObject.has("type")) {
251 intent.setDataAndType(Uri.parse(jsonObject.optString("data", null)),
252 jsonObject.optString("type", null));
253 } else if (jsonObject.has("data")) {
254 intent.setData(Uri.parse(jsonObject.optString("data", null)));
255 } else if (jsonObject
[all...]
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/
H A DAndroidFacade.java294 private static void putNestedJSONObject(JSONObject jsonObject, Bundle bundle) argument
296 JSONArray names = jsonObject.names();
299 Object data = jsonObject.get(name);

Completed in 124 milliseconds