Passing ArrayList of an object from one activity to another in android

view full story

http://stackoverflow.com – So the case is i want to send data from one activity to another with the help of ArrayList of objects. Below is the class code which i want to use as object. So please tell me that where i am going wrong. class UserData implements Parcelable{ private String name, phone, city, username, password; private String userDetails[]; private UserData(Parcel in){ city = in.readString(); name = in.readString(); password = in.readString(); phone = in.readString(); username = in.readString(); } @Override public int describeContents() { // TODO Auto-generated method stub return (HowTos)