How send JSON array to another activity in Android?

Kim Trang

New member
How send JSON array to another activity in Android?
Answer
You should convert JsonArray to String then attach it to Intent and send it. JSONObject jObject = new JSONObject(“Your Json Response”); Intent obj_intent = new Intent(Main. this, Main1. class); Bundle b = new Bundle(); b.
 

Tìm kiếm

Back
Top