List of usage examples for android.os Parcel writeString
public final void writeString(String val)
From source file:com.datastore_android_sdk.rxvolley.http.URLHttpResponse.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeSerializable(this.headers); dest.writeInt(this.responseCode); dest.writeString(this.responseMessage); dest.writeString(this.contentEncoding); dest.writeString(this.contentType); dest.writeLong(this.contentLength); }
From source file:com.playhaven.android.data.Reward.java
/** * Flatten this object in to a Parcel./*from ww w. jav a 2s. c o m*/ * * @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.writeDouble(quantity); dest.writeDouble(receipt); dest.writeString(tag); dest.writeString(signature); }
From source file:org.alfresco.mobile.android.api.session.impl.RepositorySessionImpl.java
@Override public void writeToParcel(Parcel dest, int arg1) { dest.writeString(baseUrl); dest.writeString(userIdentifier);//from w ww .j av a 2 s .c om dest.writeString(password); dest.writeParcelable(rootNode, PARCELABLE_WRITE_RETURN_VALUE); dest.writeSerializable(repositoryInfo); dest.writeSerializable(cmisSession); Bundle b = new Bundle(); b.putSerializable("userParameters", (Serializable) userParameters); dest.writeBundle(b); }
From source file:com.nestlabs.sdk.SmokeCOAlarm.java
@Override public void writeToParcel(Parcel dest, int flags) { super.writeToParcel(dest, flags); dest.writeString(mBatteryHealth); dest.writeString(mCoAlarmState);/* ww w .ja v a 2 s . c om*/ dest.writeString(mSmokeAlarmState); Utils.writeBoolean(dest, mIsManualTestActive); dest.writeString(mLastManualTestTime); dest.writeString(mUiColorState); }
From source file:it.polimi.geinterface.DAO.Entity.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeString(this.entityID); dest.writeString((this.entityType == null) ? "" : this.entityType.name()); dest.writeString((this.distanceRange == null) ? "" : this.distanceRange.name()); dest.writeString(this.properties.toString()); }
From source file:com.wellsandwhistles.android.redditsp.reddit.things.RedditComment.java
public void writeToParcel(final Parcel parcel, final int flags) { parcel.writeString(body); parcel.writeString(body_html);/*from w ww. j a v a2 s . c o m*/ parcel.writeString(author); parcel.writeString(subreddit); parcel.writeString(author_flair_text); parcel.writeInt(archived ? 1 : 0); if (likes == null) { parcel.writeInt(0); } else { parcel.writeInt(likes ? 1 : -1); } parcel.writeString(id); parcel.writeString(subreddit_id); parcel.writeString(link_id); parcel.writeString(parent_id); parcel.writeString(name); parcel.writeString(context); parcel.writeInt(ups); parcel.writeInt(downs); if (edited instanceof Long) { parcel.writeLong((Long) edited); } else { parcel.writeLong(-1); } parcel.writeLong(created); parcel.writeLong(created_utc); parcel.writeInt(saved ? 1 : 0); parcel.writeInt(gilded); parcel.writeString(distinguished); }
From source file:android.hawkencompanionapp.models.UserLoginSession.java
@Override public void writeToParcel(Parcel dest, int flags) { boolean[] b = new boolean[] { mIsUserValid }; dest.writeString(mPhpSessionId); dest.writeString(mPhpTrackingId);/*ww w.j a v a2 s.co m*/ dest.writeString(mPhpAccessId); dest.writeBooleanArray(b); }
From source file:br.ufrj.ppgi.jemf.mobile.bean.Location.java
/** * Write Location data to Parcelable. //from w ww .jav a 2 s.c o m */ @Override public void writeToParcel(Parcel dest, int flags) { dest.writeInt(getId()); dest.writeString(getStatusString()); dest.writeString(getTimeStampString()); dest.writeInt(getInterval()); }
From source file:no.ntnu.osnap.social.models.Model.java
public void writeToParcel(Parcel parcel, int flag) { parcel.writeString(jsonModel.toString()); }
From source file:vandy.mooc.model.provider.VideoClient.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeLong(id);//from w w w .j a v a 2 s.c o m dest.writeString(title); dest.writeLong(duration); dest.writeString(location); dest.writeString(subject); dest.writeString(contentType); dest.writeDouble(rating); dest.writeInt(count); dest.writeString(filepath); }