List of usage examples for android.os Parcel writeString
public final void writeString(String val)
From source file:com.nextgis.maplib.datasource.ngw.Connection.java
@Override public void writeToParcel(Parcel parcel, int i) { parcel.writeString(mName); parcel.writeString(mLogin);//w ww.j a va2 s. co m parcel.writeString(mPassword); parcel.writeString(mURL); parcel.writeByte(mIsConnected ? (byte) 1 : (byte) 0); parcel.writeString(mCookie); parcel.writeInt(mId); parcel.writeInt(mSupportedTypes.size()); for (Integer type : mSupportedTypes) parcel.writeInt(type); parcel.writeParcelable(mRootResource, i); }
From source file:com.lugia.timetable.Schedule.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeInt(mSection);/* w w w .j a v a 2s .co m*/ dest.writeInt(mDay); dest.writeInt(mTime); dest.writeInt(mLength); dest.writeString(mRoom); }
From source file:com.eTilbudsavis.etasdk.model.Dealer.java
public void writeToParcel(Parcel dest, int flags) { dest.writeString(this.mErn); dest.writeString(this.mName); dest.writeString(this.mUrlName); dest.writeString(this.mWebsite); dest.writeString(this.mLogo); dest.writeValue(this.mColor); dest.writeParcelable(this.mPageflip, flags); }
From source file:net.soulwolf.structure.core.FragmentParameter.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeSerializable(mFragmentClass); dest.writeBundle(mParams);/*from w ww. j a v a 2s . co m*/ dest.writeString(mTag); dest.writeInt(mRequestCode); dest.writeInt(mResultCode); int size = 0; if (mAnimationRes != null) { size = mAnimationRes.length; } dest.writeInt(size); dest.writeIntArray(mAnimationRes); dest.writeParcelable(mResultParams, flags); }
From source file:br.ufrj.ppgi.jemf.mobile.bean.HealthCareUnit.java
/** * Write HealthCareUnit data to Parcelable. */// ww w . jav a2 s. c om @Override public void writeToParcel(Parcel dest, int flags) { dest.writeInt(getId()); dest.writeString(getName()); dest.writeString(getDescription()); dest.writeString(getLevelString()); dest.writeInt(getCapacity()); }
From source file:edu.umich.flowfence.common.QMDescriptor.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeInt(kind);/* w w w. j ava 2 s . c om*/ definingClass.writeToParcel(dest, flags); dest.writeString(methodName); dest.writeStringList(paramTypes); }
From source file:com.putlocker.upload.concurrency.PutlockerDownloadJob.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeInt(_id);//from w w w .ja v a 2s.c o m dest.writeString(_fileName); dest.writeString(url); dest.writeLong(_fileSize); dest.writeInt(type.ordinal()); dest.writeInt(cookies.size()); for (Cookie cookie : cookies) { dest.writeString(cookie.getName()); dest.writeString(cookie.getValue()); dest.writeString(cookie.getDomain()); } dest.writeString(_fileLocation == null ? "" : _fileLocation); dest.writeString(_originalFileLocation); }
From source file:org.ale.scanner.zotero.data.BibItem.java
@Override public void writeToParcel(Parcel p, int flags) { p.writeInt(mId);//from w w w. j av a2 s . c om p.writeLong(mCreationDate); p.writeInt(mType); p.writeString(mInfo.toString()); p.writeInt(mAcctId); p.writeInt(mSelected); // must be last }
From source file:br.ufrj.ppgi.jemf.mobile.bean.Victim.java
/** * Write Victim data to Parcelable. /*from ww w. java 2 s.c om*/ */ @Override public void writeToParcel(Parcel dest, int flags) { dest.writeInt(getId()); dest.writeString(getName()); dest.writeInt(getGender()); dest.writeString(getBirthDateString()); dest.writeInt(getAge()); dest.writeString(getStatusString()); }
From source file:com.shizhefei.view.multitype.provider.FragmentData.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeBundle(this.arguments); dest.writeSerializable(this.fragmentClass); dest.writeString(this.tag); }