JSONObject json = new JSONObject();
String imei = "123546563423624";
String wifimac= "0071e2ea9f63";
String result= "ffff";
String product= "stone72_wet_130_jb3:4.2.2";
String appversion= "1.222";
try {
json.put("imei", imei);
json.put("wifimac", wifimac);
json.put("result", result);
json.put("product", product);
json.put("appversion", appversion);
} catch (JSONException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
System.out.println("jsonjsonjson..." + json.toString());
沒有留言:
張貼留言