OK so I am passing a Serializable object from one activity to another like this:
Intent i = new Intent(GetVariants.this, RoadDetails.class);
i.putExtra("Variant", (Serializable)trips[0]);
and I receive the object on the other activity like this:
trip1 = (HashMap<String, Object>) intent.getSerializableExtra("Variant");
variant1 = new Variant();
variant1.Read(trip1);
So far so good things are working great but how can I send variant1 to another activity and how to receive it?