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:com.tangyu.component.service.sync.TYNameValuePair.java

public void writeToParcel(Parcel out, int flags) {
    out.writeString(name);
    out.writeString(value);
}

From source file:com.tigerpenguin.places.model.AddressComponent.java

@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(longName);
    dest.writeString(shortName);/* w  ww.  j  av a2 s  . com*/
    dest.writeList(addressTypes);
}

From source file:com.github.capone.protocol.entities.Service.java

@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(name);
    dest.writeString(category);//from  w w  w.  j  av a  2s. c o m
    dest.writeInt(port);
}

From source file:com.nestapi.lib.API.AccessToken.java

@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(mToken);
    dest.writeLong(mExpiresIn);
}

From source file:com.frodo.github.bean.dto.request.RepoRequestDTO.java

@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(this.name);
    dest.writeString(this.description);
    dest.writeString(this.homepage);
    dest.writeByte(isPrivate ? (byte) 1 : (byte) 0);
    dest.writeByte(has_issues ? (byte) 1 : (byte) 0);
    dest.writeByte(has_wiki ? (byte) 1 : (byte) 0);
    dest.writeByte(has_downloads ? (byte) 1 : (byte) 0);
    dest.writeString(this.default_branch);
    dest.writeByte(auto_init ? (byte) 1 : (byte) 0);
    dest.writeString(this.gitignore_template);
    dest.writeString(this.license_template);
    dest.writeInt(this.team_id);
}

From source file:edu.umich.flowfence.common.ParamInfo.java

@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(typeName);
    dest.writeInt(paramIndex);//w w w . java 2s.  com
    direction.writeToParcel(dest, flags);
}

From source file:com.artemchep.horario.database.models.UserSensitive.java

@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(key);
    dest.writeString(phone);
}

From source file:ir.aarani.bazaar.billing.TransactionDetails.java

@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(this.productId);
    dest.writeString(this.orderId);
    dest.writeString(this.purchaseToken);
    dest.writeLong(purchaseTime != null ? purchaseTime.getTime() : -1);
    dest.writeParcelable(this.purchaseInfo, flags);
}

From source file:com.artemchep.horario.database.models.SubjectTaskService.java

@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(key);
    dest.writeLong(timestamp);// www .  j av a  2  s .  co  m
    dest.writeLong(timestampEdited);
}

From source file:com.ninetwozero.battlelog.datatypes.ShareableCookie.java

@Override
public void writeToParcel(Parcel dest, int flags) {

    dest.writeString(this.name);
    dest.writeString(this.value);
    dest.writeString(this.domain);

}