Passing arrays between classes using intents?

You can add data to an Intent using one of the putExtra routines. But serializing large amounts of data is expensive. Take a look here for alternatives.

I was able to pass simple variables using bundle...plzz help me out – chetan Mar 13 at 12:32 Take a look at the putExtra(String name, int value) and getIntArrayExtra(String name) for an int array. There are a similar pair for String data. – Ted Hopp Mar 13 at 16:35.

Best way is to use parcelable extra. Refer to this link prasanta-paul.blogspot.com/2010/06/andro....

I Suggest store that all necessary data in static list and then use that static . Public static List name = new ArrayList(); public static List address = new ArrayList(); public static List latitude = new ArrayList(); public static List longitude = new ArrayList(); name. Add("your data"); address .

Add("your data"); latitude . Add("your data"); longitude . Add("your data"); then you can get all the data in any activity .

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions