Example usage for android.os Parcel readString

List of usage examples for android.os Parcel readString

Introduction

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

Prototype

public final String readString() 

Source Link

Document

Read a string value from the parcel at the current dataPosition().

Usage

From source file:com.google.samples.apps.friendlyping.model.Ping.java

protected Ping(Parcel in) {
    mBody = in.readString();
    mFrom = in.readString();
}

From source file:com.tangyu.component.service.sync.TYNameValuePair.java

private TYNameValuePair(Parcel in) {
    name = in.readString();
    value = in.readString();
}

From source file:org.androidtransfuse.integrationTest.inject.RealParcelable.java

public RealParcelable(Parcel parcel) {
    this.value = parcel.readString();
}

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

private Service(Parcel in) {
    name = in.readString();
    category = in.readString();
    port = in.readInt();
}

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

@SuppressWarnings("unchecked")
public AddressComponent(Parcel in) {
    longName = in.readString();
    shortName = in.readString();/*www.  ja  v a 2  s  .  c o m*/
    addressTypes = in.readArrayList(PlaceType.class.getClassLoader());
}

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

private AccessToken(Parcel in) {
    mToken = in.readString();
    mExpiresIn = in.readLong();
}

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

protected RepoRequestDTO(Parcel in) {
    this.name = in.readString();
    this.description = in.readString();
    this.homepage = in.readString();
    this.isPrivate = in.readByte() != 0;
    this.has_issues = in.readByte() != 0;
    this.has_wiki = in.readByte() != 0;
    this.has_downloads = in.readByte() != 0;
    this.default_branch = in.readString();
    this.auto_init = in.readByte() != 0;
    this.gitignore_template = in.readString();
    this.license_template = in.readString();
    this.team_id = in.readInt();
}

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

public UserSensitive(Parcel source) {
    key = source.readString();
    phone = source.readString();
}

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

private Server(Parcel in) {
    name = in.readString();
    address = in.readString();//from w  ww. ja v  a 2  s.c o  m
    signatureKey = in.readParcelable(Identity.class.getClassLoader());
    services = in.createTypedArrayList(Service.CREATOR);
}

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

public ParamInfo(Parcel source) {
    this.typeName = source.readString();
    this.paramIndex = source.readInt();
    this.direction = Direction.CREATOR.createFromParcel(source);
}