Answers for "android intent data as jsonobject"

0

android intent data as jsonobject

Intent intent = new Intent(getActivity(), MainActivity.class);
                intent.putExtra("json", jsonObject.toString());
                startActivity(intent);
Posted by: Guest on October-08-2020
0

android intent data as jsonobject

if(getIntent().hasExtra("json")) { 
       JsonObject mJsonObject = new JsonObject(getIntent().getStringExtra("json"));
    }
Posted by: Guest on October-08-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language