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.Contact.java

/**
 * Write Contact data to Parcelable. /*from w  w  w .jav  a2 s . c  o m*/
 */
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeInt(getId());
    dest.writeString(getPhone());
    dest.writeString(getEmail());
    dest.writeString(getRadio());
    dest.writeString(getLanguageString());
}

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

/**
 * Write InterestPoint data to Parcelable. 
 *///ww w  .  java  2  s  .co  m
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeInt(getId());
    dest.writeString(getStatusString());
    dest.writeString(getTimeStampString());
    dest.writeInt(getInterval());
    dest.writeString(getName());
}

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

public void writeToParcel(Parcel dest, int flags) {
    dest.writeDouble(this.mPrice);
    dest.writeValue(this.mPrePrice);
    dest.writeString(this.mCurrency);
}

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

/**
 * Write Witness data to Parcelable. /*from   ww  w . j  a  v a2 s  . c o m*/
 */
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeInt(getId());
    dest.writeString(getName());
    dest.writeInt(getGender());
    dest.writeString(getBirthDateString());
    dest.writeInt(getAge());
}

From source file:com.example.testmoodle.util.Document.java

public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(type);
    dest.writeString(fileName);//w w  w  . java2s.c o  m
    dest.writeString(filePath);
    dest.writeInt(fileSize);
    dest.writeString(fileURL);
    dest.writeString(content);
    dest.writeLong(timeCreated);
    dest.writeLong(timeModified);
    dest.writeInt(sortedOrder);
    dest.writeInt(userID);
    dest.writeString(author);
    dest.writeString(license);
}

From source file:com.tdispatch.passenger.model.ApiSearchLocationData.java

@Override
public void writeToParcel(Parcel out, int flags) {
    out.writeString(getTown());
    out.writeString(getCountry());//from  w  w  w .j a v  a2 s.  co m
    out.writeString(getPostCode());
    out.writeString(getAddress());
    out.writeString(getCounty());

    out.writeDouble(getLatitude());
    out.writeDouble(getLongitude());
}

From source file:de.lebenshilfe_muenster.uk_gebaerden_muensterland.database.Sign.java

@Override
public void writeToParcel(Parcel out, int flags) {
    out.writeInt(this.id);
    out.writeString(this.name);
    out.writeString(this.nameLocaleDe);
    out.writeString(this.mnemonic);
    out.writeValue(this.starred);
    out.writeInt(this.learningProgress);
}

From source file:com.clover.sdk.v1.base.Reference.java

@Override
public void writeToParcel(android.os.Parcel dest, int flags) {
    String json = jsonString != null ? jsonString : getJSONObject().toString();
    dest.writeString(json);
}

From source file:se.leap.bitmaskclient.Provider.java

@Override
public void writeToParcel(Parcel parcel, int i) {
    if (main_url != null)
        parcel.writeString(main_url.toString());
    if (definition != null)
        parcel.writeString(definition.toString());
}

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

public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(this.mName);
    dest.writeString(this.mUrlName);
    dest.writeString(this.mWebsite);
    dest.writeString(this.mLogo);
    dest.writeValue(this.mLogoBackground);
    dest.writeValue(this.mColor);
    dest.writeParcelable(this.mPageflip, flags);
}