Example usage for android.os Parcel writeString

List of usage examples for android.os Parcel writeString

Introduction

In this page you can find the example usage for android.os Parcel writeString.

Prototype

public final void writeString(String val) 

Source Link

Document

Write a string value into the parcel at the current dataPosition(), growing dataCapacity() if needed.

Usage

From source file:br.ufrj.ppgi.jemf.mobile.bean.Equipment.java

/**
 * Write Equipment data to Parcelable. //  w w  w  . ja  va 2  s  .c  o  m
 */
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeInt(getId());
    dest.writeString(getName());
    dest.writeString(getStatusString());
    dest.writeString(getDescription());
}

From source file:com.playhaven.android.data.DataCollectionField.java

/**
 * Flatten this object in to a Parcel.//  w w w .  jav  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(mType);
    dest.writeString(mName);
    dest.writeString(mCssClass);
    dest.writeString(mValue);
}

From source file:com.eTilbudsavis.etasdk.model.Country.java

public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(this.mErn);
    dest.writeString(this.mUnsubscribeUrl);
}

From source file:us.dustinj.locationstore.Export.java

@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeLong(GetStartTime().getTime());
    dest.writeLong(GetDurationMs());//from w w w.  j av a 2s  .  c o  m
    dest.writeString(GetExportID());
}

From source file:ch.gianulli.trelloapi.Board.java

@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(mId);
    dest.writeString(mName);//  w w w . ja v a  2  s .c o  m
    dest.writeInt(mColor);
}

From source file:com.github.michalbednarski.intentslab.browser.PermissionsFetcher.java

@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeInt(mGrouped ? 1 : 0);/*  w  w w . j av a2  s .  c  o m*/
    dest.writeString(mNameSubstring);
    dest.writeInt(mProtectionFilter);
}

From source file:com.schedjoules.eventdiscovery.framework.microfragments.webview.WebviewMicroFragment.java

@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(mTitle);
    dest.writeSerializable(mUrl);
}

From source file:com.cas.model.Course.java

public void writeToParcel(Parcel dest, int flags) {
    dest.writeInt(id);// w  w  w.  j  a  v a  2  s .  co  m
    dest.writeString(shortname);
    dest.writeString(fullname);
    dest.writeInt(enrolledusercount);
    dest.writeString(idnumber);
    dest.writeInt(visible);
    dest.writeTypedList(coursecontents);
}

From source file:com.wootric.androidsdk.objects.WootricCustomMessage.java

@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(this.followupQuestion);
    dest.writeSerializable(this.followupQuestionsList);
    dest.writeString(this.placeholderText);
    dest.writeSerializable(this.placeholderTextsList);
}

From source file:net.issarlk.androbunny.inkbunny.User.java

public void writeToParcel(Parcel out, int flag) {
    out.writeInt(this.id);
    out.writeString(this.name);
    if (this.icon_file_name != null) {
        out.writeInt(1);//www  .  java2s  .  co m
        out.writeString(this.icon_file_name);
        this.icons[0].writeToParcel(out, 0);
        this.icons[1].writeToParcel(out, 0);
        this.icons[2].writeToParcel(out, 0);
    } else {
        out.writeInt(0);
    }
    if (this.profile != null) {
        out.writeInt(1);
        out.writeString(this.profile);
    } else {
        out.writeInt(0);
    }
}