List of usage examples for android.os Parcel writeString
public final void writeString(String val)
From source file:com.sayar.requests.Response.java
public void writeToParcel(final Parcel dest, final int flags) { dest.writeString(this.parsedAs); dest.writeString(this.raw); dest.writeString(this.statusMessage); dest.writeInt(this.code); // TODO:/*from w ww .j av a2 s .c o m*/ // dest.writeString(responseVersion.getProtocol()); }
From source file:com.vk.sdk.api.model.VKApiComment.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeInt(this.id); dest.writeInt(this.from_id); dest.writeLong(this.date); dest.writeString(this.text); dest.writeInt(this.reply_to_user); dest.writeInt(this.reply_to_comment); dest.writeInt(this.likes); dest.writeByte(user_likes ? (byte) 1 : (byte) 0); dest.writeByte(can_like ? (byte) 1 : (byte) 0); dest.writeParcelable(this.attachments, flags); }
From source file:com.cas.model.SiteInfo.java
public void writeToParcel(Parcel dest, int flags) { dest.writeString(sitename); dest.writeString(username);/* w w w. j a va 2s . c om*/ dest.writeString(firstname); dest.writeString(lastname); dest.writeString(fullname); dest.writeInt(userid); dest.writeString(siteurl); dest.writeString(userpictureurl); dest.writeByte((byte) (downloadfiles ? 1 : 0)); dest.writeInt(functions.size()); for (String s : functions.keySet()) { dest.writeString(s); dest.writeString(functions.get(s)); } }
From source file:com.lugia.timetable.Event.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeLong(mId);//from w ww . j av a2s.c om dest.writeString(mName); dest.writeString(mVenue); dest.writeString(mNote); dest.writeInt(mType); dest.writeInt(mDate); dest.writeInt(mTimeStart); dest.writeInt(mTimeEnd); }
From source file:com.playhaven.android.data.Purchase.java
/** * Flatten this object in to a Parcel./*from w ww .j a v a2 s. com*/ * * @param dest The Parcel in which the object should be written. * @param flags Additional flags about how the object should be written. May be 0 or Parcel#PARCELABLE_WRITE_RETURN_VALUE. */ @Override public void writeToParcel(Parcel dest, int flags) { dest.writeString(sku); dest.writeString(title); dest.writeString(quantity); dest.writeString(price); dest.writeString(store); dest.writeString(signature); dest.writeString(receipt); dest.writeString(cookie); dest.writeString(placementTag); dest.writeString(payload); dest.writeString(orderId); dest.writeInt(result.ordinal()); }
From source file:com.github.leonardoxh.temporeal.app.model.User.java
@Override public void writeToParcel(Parcel parcel, int flags) { parcel.writeLong(getId() == null ? 0L : getId()); parcel.writeLong(getServerId() == null ? 0L : getServerId()); parcel.writeString(getPlusId()); parcel.writeString(getDisplayName()); parcel.writeString(getProfileUrl()); parcel.writeString(getProfileImage()); }
From source file:com.vk.sdk.api.model.VKApiDocument.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeInt(this.id); dest.writeInt(this.owner_id); dest.writeString(this.title); dest.writeLong(this.size); dest.writeString(this.ext); dest.writeString(this.url); dest.writeString(this.photo_100); dest.writeString(this.photo_130); dest.writeParcelable(this.photo, flags); dest.writeString(this.access_key); dest.writeByte(mIsImage ? (byte) 1 : (byte) 0); dest.writeByte(mIsGif ? (byte) 1 : (byte) 0); }
From source file:com.vk.sdk.api.model.VKApiCommunity.java
@Override public void writeToParcel(Parcel dest, int flags) { super.writeToParcel(dest, flags); dest.writeString(this.name); dest.writeString(this.screen_name); dest.writeInt(this.is_closed); dest.writeByte(is_admin ? (byte) 1 : (byte) 0); dest.writeInt(this.admin_level); dest.writeByte(is_member ? (byte) 1 : (byte) 0); dest.writeInt(this.type); dest.writeString(this.photo_50); dest.writeString(this.photo_100); dest.writeString(this.photo_200); dest.writeParcelable(this.photo, flags); }
From source file:com.citrus.sdk.payment.PaymentBill.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeParcelable(this.amount, 0); dest.writeString(this.requestSignature); dest.writeString(this.merchantTransactionId); dest.writeString(this.merchantAccessKey); dest.writeString(this.returnUrl); dest.writeString(this.notifyUrl); dest.writeMap(this.customParametersMap); }
From source file:br.ufrj.ppgi.jemf.mobile.bean.TextMessage.java
/** * Write TextMessage data to Parcelable. *//*from w ww . ja va2 s . c o m*/ @Override public void writeToParcel(Parcel dest, int flags) { dest.writeInt(getId()); dest.writeString(getCreationDateString()); dest.writeString(getLastModificationDateString()); dest.writeString(getPriorityString()); dest.writeString(getSubject()); dest.writeString(getContent()); }