how to pass values of stringbuffer to different activities using intent : StringBuffer finalbufferdata = new StringBuffer(); for (int i = 0; i < parentarray.length(); i++) { JSONObject finalobj = parentarray.getJSONObject(i); String id = finalobj.getString("student_id"); String name = finalobj.getString("first_name"); String m_name = finalobj.getString("middle_name"); String l_name = finalobj.getString("last_name"); finalbufferdata.append(id+" "+name+" "+m_name+" "+l_name+"\n"); }
