showing results for - "android intent data as jsonobject"
Samuel
30 Aug 2020
1  if(getIntent().hasExtra("json")) { 
2       JsonObject mJsonObject = new JsonObject(getIntent().getStringExtra("json"));
3    }
Ariadna
21 Jan 2020
1Intent intent = new Intent(getActivity(), MainActivity.class);
2                intent.putExtra("json", jsonObject.toString());
3                startActivity(intent);
4