Browse files

changed json

  • Loading branch information...
1 parent 264faa9 commit e0d768135986731dc1580eb1c4e23146d0ba0935 Jon Vlachoyiannis committed Mar 22, 2011
Showing with 5 additions and 5 deletions.
  1. BIN sfalma-trace.jar
  2. +5 −5 src/com/sfalma/trace/Sfalma.java
View
BIN sfalma-trace.jar
Binary file not shown.
View
10 src/com/sfalma/trace/Sfalma.java
@@ -78,17 +78,17 @@ public static String createJSON(String app_package, String version, String phone
exception_json.put("message", reader.readLine()); //get message
String exception_class = reader.readLine();
- exception_json.put("exception_class", exception_class.substring(exception_class.lastIndexOf("(") + 1, exception_class.lastIndexOf(")"))); // where
+ exception_json.put("where", exception_class.substring(exception_class.lastIndexOf("(") + 1, exception_class.lastIndexOf(")")));
exception_json.put("backtrace", stackTrace);
json.put("exception", exception_json);
reader.close();
- application_json.put("phone_model", phoneModel);
- application_json.put("package_version", version);
- application_json.put("package_name", app_package);
- application_json.put("version", android_version); //os_ver
+ application_json.put("phone", phoneModel);
+ application_json.put("appver", version);
+ application_json.put("appname", app_package);
+ application_json.put("osver", android_version); //os_ver
application_json.put("wifi_on", wifi_status);
application_json.put("mobile_net_on", mob_net_status);
application_json.put("gps_on", gps_status);

0 comments on commit e0d7681

Please sign in to comment.