This is my code as it is but how would I go about taking the data to another activity. I would like it to display all the information. any help will be greatly appreciated.
try {
JSONArray ja = new JSONArray(result);
JSONObject jo;
data = new String[ja.length()];
ArrayList<String> LectureArray = new ArrayList<String>();
for (int i = 0; i < ja.length(); i++) {
jo = ja.getJSONObject(i);
data[i] = jo.getString("LectureName");
Log.i("log_tag", "ID: " + jo.getString("ID") +
", CourseCode: " + jo.getString("CourseCode") +
", LectureName: " + jo.getString("LectureName") +
", LectureQuestion: " + jo.getString("LectureQuestion")
);
}