1

how to get two string values in single key hashmap and convert this key into array

view story
linux-howto

http://stackoverflow.com – Im new to Android.. Im facing the problem with hashmap and arraylist....My problem is... I have HashMap like this.. JSONObject c = groups.getJSONObject(i); String questionid = c.getString(TAG_QUESID); String question = c.getString(TAG_QUES); String answer = c.getString(TAG_ANSW); id=questionid; quesid.add(questionid); HashMap<String, String> map = new HashMap<String, String>(); map.put(TAG_QUESID, questionid); map.put(TAG_QUES, question); map.put(TAG_ANSW, answer); But i need the both strings ques (HowTos)