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:net.giovannicapuano.galax.controller.User.java

public void writeToParcel(Parcel dest, int flags) {
    dest.writeInt(id);//from   w  w w . j av  a2  s .  com
    dest.writeString(username);
    dest.writeString(email);
    dest.writeString(address);
}

From source file:com.liferay.alerts.model.Alert.java

@Override
public void writeToParcel(Parcel parcel, int flags) {
    parcel.writeLong(_id);//from  w w w  . j av  a  2s . c o m
    parcel.writeParcelable(_user, 0);
    parcel.writeString(_payload.toString());
    parcel.writeInt((_read ? 1 : 0));
    parcel.writeLong(_timestamp);
}

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

/**
 * Write Emergency data to Parcelable. /*from w  w w . ja  v  a 2  s.  c o  m*/
 */
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeInt(getId());
    dest.writeString(getName());
    dest.writeInt(getActivatedInt());
    dest.writeString(getLevelString());
    dest.writeString(getStartDateString());
    dest.writeString(getEndDateString());
    dest.writeString(getTypeString());
}

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

public void writeToParcel(Parcel dest, int flags) {
    dest.writeInt(id);// ww  w. j a  v  a  2s. co  m
    dest.writeString(url);
    dest.writeString(name);
    dest.writeString(description);
    dest.writeInt(visible);
    dest.writeString(modicon);
    dest.writeString(modname);
    dest.writeString(modplural);
    dest.writeInt(availablefrom);
    dest.writeInt(availableuntil);
    dest.writeInt(indent);
    dest.writeTypedList(contents);
}

From source file:com.guavabot.alarmpreference.Alarm.java

@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeByte((byte) (mAlarmOn ? 1 : 0));
    dest.writeString(TIME_FMT.print(mTime));
    dest.writeInt(mWeeklyAlarms);/*  w  w  w . j a  va 2  s  . com*/
    dest.writeLong(mId);
}

From source file:com.vk.sdk.api.model.VKApiUniversity.java

@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeInt(this.id);
    dest.writeInt(this.country_id);
    dest.writeInt(this.city_id);
    dest.writeString(this.name);
    dest.writeString(this.faculty);
    dest.writeString(this.faculty_name);
    dest.writeInt(this.chair);
    dest.writeString(this.chair_name);
    dest.writeInt(this.graduation);
    dest.writeString(this.education_form);
    dest.writeString(this.education_status);
}

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

/**
 * Write Plan data to Parcelable. /*from   w  w w . j av  a  2  s . co m*/
 */
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeInt(getId());
    dest.writeString(getCreationDateString());
    dest.writeString(getLastModificationDateString());
    dest.writeString(getPriorityString());
    dest.writeString(getDescription());
    dest.writeString(getObservation());
    dest.writeString(getObjective());
    dest.writeString(getRisk());
    dest.writeString(getCheckList());
}

From source file:com.citrus.sdk.CitrusUser.java

@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(this.firstName);
    dest.writeString(this.lastName);
    dest.writeString(this.emailId);
    dest.writeString(this.mobileNo);
    dest.writeParcelable(this.address, flags);
}

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

/**
 * Write Mission data to Parcelable. //from w  w  w .  j  ava2s  . com
 */
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeInt(getId());
    dest.writeString(getTitle());
    dest.writeString(getDescription());
    dest.writeString(getStatusString());
    dest.writeString(getStartDateString());
    dest.writeString(getEndDateString());
    dest.writeString(getPriorityString());
}

From source file:com.irateam.vkplayer.models.Audio.java

@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeInt(id);/*from   w w  w  .ja  v a  2 s. co  m*/
    dest.writeInt(ownerId);
    dest.writeString(artist);
    dest.writeString(title);
    dest.writeInt(duration);
    dest.writeString(url);
    dest.writeInt(lyricsId);
    dest.writeInt(albumId);
    dest.writeInt(genre);
    dest.writeString(accessKey);
    dest.writeString(getCachePath());
}