HashMap<String, String> hashMap = new HashMap<String, String>();
String string = "{\"phonetype\":\"N95\",\"cat\":\"WP\"}";
try {
JSONObject json = new JSONObject(string);
hashMap.put("phonetype", json.getString("phonetype"));
hashMap.put("cat", json.getString("cat"));
} catch (JSONException e) {
// TODO Handle expection!
}