You can simply put an entire JSONObject as a string. Something like this:
i.putString("product", jsonObj.toString);
And then in the MovieProductActivity
you could
JSONObject jsonObj = new JSONObject(getIntent().getStringExtra("product"));
More Related Contents:
- Passing arraylist of objects between activities
- Help with passing ArrayList and parcelable Activity
- How to send objects through bundle
- Android app crashes by switching the activity
- How to stop EditText from gaining focus when an activity starts in Android?
- Communicating between a fragment and an activity – best practices
- How do I disable orientation change on Android?
- How to set ringtone in Android from my activity?
- How do I pass an object from one activity to another on Android? [duplicate]
- Soft keyboard open and close listener in an activity in Android
- How to bring an activity to foreground (top of stack)?
- How to pass ArrayList of Objects from one to another activity using Intent in android?
- Error while Running Android Application – Could not initialize OpenglES emulation, use ‘-gpu off’ to disable it
- Android – How to pass HashMap between activities?
- How to make notification intent resume rather than making a new intent?
- startActivity() from BroadcastReceiver
- Launch Skype from an App Programmatically & Pass Number – Android
- Finish parent and current activity in Android
- Pass ArrayList
- How do I start an activity from within a Fragment? [duplicate]
- How to create always-top fullscreen overlay activity in Android
- Trying to UNINSTALL_SHORTCUT but shortcut won’t go away
- Difference between extending LifecycleActivity,Activity,ActionbarActivity & AppCompactActivity?
- App always starts fresh from root activity instead of resuming background state (Known Bug)
- Using an Android library project Activity within another project
- how to use getListView() in Activity?
- Why does FLAG_ACTIVITY_CLEAR_TOP not work?
- Android: onSaveInstanceState not being called from activity
- how to know the calling activity in android
- Android error “unable to find explicit activity class”