Code example for Parcel

Methods: writeDoublewriteInt

0
		// TODO Auto-generated method stub 
		return 0; 
	} 
 
	public void writeToParcel(Parcel dest, int arg1) {
		dest.writeInt(_id);
		dest.writeInt(workout_id);
		dest.writeInt(time);
		dest.writeInt(workoutTime);
		dest.writeDouble(latitude);
		dest.writeDouble(longtitude);
		dest.writeDouble(altitude);
		 
	} 
	 
public static final Parcelable.Creator<LocationPoint> CREATOR = new Creator<LocationPoint>() {
		 
		public LocationPoint[] newArray(int size) { 
			// TODO Auto-generated method stub 
			return new LocationPoint[size]; 
4
CodeRank