Code example for Parcel

Methods: readInt, readLong, readString

0
        dest.writeInt((status == null) ? 0 : status.index());
} 
 
    private void readFromParcel(Parcel in) {
    	 
       	this.message = in.readString();
    	this.timeCreated = new Date(in.readLong());
        this.status = LineStatus.fromInt(in.readInt());
} 
	public int describeContents() { 
		// TODO Auto-generated method stub 
		return 0; 
	} 
 
	 
}