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.nextgis.maplib.datasource.ngw.Resource.java

@Override
public void writeToParcel(Parcel parcel, int i) {
    parcel.writeString(mName);
    parcel.writeByte(mHasChildren ? (byte) 1 : (byte) 0);
    parcel.writeString(mDescription);// ww w.  jav  a2  s  .  c  o  m
    parcel.writeString(mKeyName);
    parcel.writeLong(mOwnerId);
    boolean hasPermissions = null != mPermissions;
    parcel.writeByte(hasPermissions ? (byte) 1 : (byte) 0);
    if (hasPermissions) {
        parcel.writeString(mPermissions.toString());
    }
    parcel.writeInt(mType);
    parcel.writeInt(mId);
}

From source file:com.morphoss.jumble.models.Localisation.java

@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(nameKey);
    dest.writeString(word);// w w  w.  ja va 2 s . c o  m
    dest.writeString(countryCode);
    dest.writeString(soundPath);
}

From source file:net.henriquerocha.android.codebits.api.Talk.java

public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(this.id);
    dest.writeString(this.title);
    dest.writeString(this.author);
    dest.writeString(this.description);
    dest.writeString(this.proposed);
    dest.writeInt(this.upVotes);
    dest.writeInt(this.downVotes);
    dest.writeString(this.rate);
}

From source file:jp.alessandro.android.iab.Item.java

@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(mOriginalJson);
    dest.writeString(mSku);/*from  ww w.  j  av a  2 s.com*/
    dest.writeString(mType);
    dest.writeString(mTitle);
    dest.writeString(mDescription);
    dest.writeString(mCurrency);
    dest.writeString(mPrice);
    dest.writeLong(mPriceMicros);
    dest.writeString(mSubscriptionPeriod);
    dest.writeString(mFreeTrialPeriod);
    dest.writeString(mIntroductoryPrice);
    dest.writeLong(mIntroductoryPriceAmountMicros);
    dest.writeString(mIntroductoryPricePeriod);
    dest.writeInt(mIntroductoryPriceCycles);
}

From source file:com.sayar.requests.auth.HttpBasicAuthentication.java

public void writeToParcel(final Parcel dest, final int flags) {
    dest.writeString(this.username);
    dest.writeString(this.password);
}

From source file:org.dmfs.android.microfragments.demo.microfragments.MicroFragment2.java

@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(mParams.name());
    dest.writeSerializable(mParams.uri());
    dest.writeParcelable(mParams.next().boxed(), flags);
}

From source file:com.josephblough.sbt.criteria.LicensesAndPermitsSearchCriteria.java

public void writeToParcel(Parcel dest, int flags) {
    dest.writeInt(searchBy);//w  w  w . jav  a 2s.co m
    dest.writeString(state);
    dest.writeString(category);
    dest.writeString(businessType);
    dest.writeInt(businessTypeSubfilter);
    dest.writeString(businessTypeSubfilterLocality);
}

From source file:edgargtzg.popularmovies.MovieItem.java

@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(mMovieId);
    dest.writeString(mOriginalTitle);//from  www.  j  a va2 s  .  c om
    dest.writeString(mMoviePoster);
    dest.writeString(mPlotSynopsis);
    dest.writeString(mUserRating);
    dest.writeString(mReleaseDate);
}

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

public void writeToParcel(Parcel dest, int flags) {
    dest.writeInt(id);/*from ww w  .ja  v  a2s .c o  m*/
    dest.writeString(name);
    dest.writeInt(visible);
    dest.writeString(summary);
    dest.writeTypedList(modules);
}

From source file:com.iangclifton.auid.combinedviews.Property.java

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