Monday, 15 August 2011

android - How to pass large json string to next activity -



android - How to pass large json string to next activity -

i sending big json string records of json array length 800 when start activity application quits without crash message when reduced records 100 works perfectly.

i doing below

intent myintent = new intent(getactivity(), activityname.class); myintent.putextra("jsondata", respuserdata); getparentfragment().startactivityforresult(myintent, pick_plan); getactivity().overridependingtransition( r.anim.lefttorightanim, r.anim.righttoleftanim);

so right way send big json next activity ?

thanks in advance.

you can pass values mentioned. bundle can hold big amount of info also. can pass arraylist, model classes etc using intent.

android json

No comments:

Post a Comment