Example usage for android.os Parcel writeValue

List of usage examples for android.os Parcel writeValue

Introduction

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

Prototype

public final void writeValue(Object v) 

Source Link

Document

Flatten a generic object in to a parcel.

Usage

From source file:com.ch_linghu.fanfoudroid.data.Tweet.java

public void writeToParcel(Parcel out, int flags) {
    out.writeString(id);//from w  ww  .  j  a  v  a2s .  c  om
    out.writeString(text);
    out.writeValue(createdAt); // Date
    out.writeString(screenName);
    out.writeString(favorited);
    out.writeString(inReplyToStatusId);
    out.writeString(inReplyToUserId);
    out.writeString(inReplyToScreenName);
    out.writeString(repostStatusId);
    out.writeString(repostUserId);
    out.writeString(screenName);
    out.writeString(profileImageUrl);
    out.writeString(thumbnail_pic);
    out.writeString(bmiddle_pic);
    out.writeString(original_pic);
    out.writeString(userId);
    out.writeString(source);
}

From source file:de.lebenshilfe_muenster.uk_gebaerden_muensterland.database.Sign.java

@Override
public void writeToParcel(Parcel out, int flags) {
    out.writeInt(this.id);
    out.writeString(this.name);
    out.writeString(this.nameLocaleDe);
    out.writeString(this.mnemonic);
    out.writeValue(this.starred);
    out.writeInt(this.learningProgress);
}

From source file:com.eTilbudsavis.etasdk.model.Branding.java

public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(this.mName);
    dest.writeString(this.mUrlName);
    dest.writeString(this.mWebsite);
    dest.writeString(this.mLogo);
    dest.writeValue(this.mLogoBackground);
    dest.writeValue(this.mColor);
    dest.writeParcelable(this.mPageflip, flags);
}

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:com.wootric.androidsdk.objects.Settings.java

@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeValue(this.firstSurvey);
    dest.writeValue(this.userID);
    dest.writeValue(this.accountID);
    dest.writeInt(this.adminPanelTimeDelay);
    dest.writeParcelable(this.localizedTexts, 0);
    dest.writeParcelable(this.adminPanelCustomMessage, 0);
    dest.writeParcelable(this.localCustomMessage, 0);
    dest.writeInt(this.timeDelay);
    dest.writeByte(surveyImmediately ? (byte) 1 : (byte) 0);
    dest.writeValue(this.dailyResponseCap);
    dest.writeValue(this.registeredPercent);
    dest.writeValue(this.visitorPercent);
    dest.writeValue(this.resurveyThrottle);
    dest.writeValue(this.declineResurveyThrottle);
    dest.writeString(this.languageCode);
    dest.writeString(this.productName);
    dest.writeString(this.recommendTarget);
    dest.writeString(this.facebookPageId);
    dest.writeString(this.twitterPage);
    dest.writeParcelable(this.customThankYou, 0);
}

From source file:com.rubengees.introduction.entity.Slide.java

@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeInt(this.position);
    dest.writeString(this.title);
    dest.writeValue(this.titleResource);
    dest.writeValue(this.titleSize);
    dest.writeString(this.description);
    dest.writeValue(this.descriptionResource);
    dest.writeValue(this.descriptionSize);
    dest.writeValue(this.imageResource);
    dest.writeValue(this.color);
    dest.writeValue(this.colorResource);
    dest.writeParcelable(this.option, flags);
    dest.writeSerializable(this.customViewBuilder);
}

From source file:com.marianhello.bgloc.Config.java

public void writeToParcel(Parcel out, int flags) {
    out.writeFloat(getStationaryRadius());
    out.writeInt(getDistanceFilter());/*w w w .  j av  a  2 s. c om*/
    out.writeInt(getDesiredAccuracy());
    out.writeValue(isDebugging());
    out.writeString(getNotificationTitle());
    out.writeString(getNotificationText());
    out.writeString(getLargeNotificationIcon());
    out.writeString(getSmallNotificationIcon());
    out.writeString(getNotificationIconColor());
    out.writeValue(getStopOnTerminate());
    out.writeValue(getStartOnBoot());
    out.writeValue(getStartForeground());
    out.writeInt(getLocationProvider());
    out.writeInt(getInterval());
    out.writeInt(getFastestInterval());
    out.writeInt(getActivitiesInterval());
    out.writeValue(getStopOnStillActivity());
    out.writeString(getUrl());
    out.writeString(getSyncUrl());
    out.writeInt(getSyncThreshold());
    out.writeInt(getMaxLocations());
    Bundle bundle = new Bundle();
    bundle.putSerializable("httpHeaders", getHttpHeaders());
    out.writeBundle(bundle);
}

From source file:com.marianhello.cordova.bgloc.Config.java

public void writeToParcel(Parcel out, int flags) {
    out.writeFloat(getStationaryRadius());
    out.writeInt(getDistanceFilter());//from w w w.j  a  v a2  s.  co m
    out.writeInt(getDesiredAccuracy());
    out.writeValue(isDebugging());
    out.writeString(getNotificationTitle());
    out.writeString(getNotificationText());
    out.writeString(getLargeNotificationIcon());
    out.writeString(getSmallNotificationIcon());
    out.writeString(getNotificationIconColor());
    out.writeValue(getStopOnTerminate());
    out.writeValue(getStartOnBoot());
    out.writeValue(getStartForeground());
    out.writeInt(getServiceProvider().asInt());
    out.writeInt(getInterval());
    out.writeInt(getFastestInterval());
    out.writeInt(getActivitiesInterval());
    out.writeString(getUrl());
    out.writeString(getMethod());
    out.writeSerializable(getHeaders());
    out.writeSerializable(getParams());
}

From source file:info.icefilms.icestream.browse.Location.java

public void writeToParcel(Parcel dest, int flags) {
    dest.writeValue(mIceFilmsURL);
    dest.writeValue(mURL);
}

From source file:com.nextgis.firereporter.ScanexSubscriptionItem.java

public void writeToParcel(Parcel out, int flags) {
    out.writeLong(nID);//from w w  w  . jav  a2s. c  o  m
    out.writeString(sTitle);
    out.writeString(sLayerName);
    out.writeString(sWKT);
    out.writeInt(bSMSEnable == true ? 1 : 0);
    out.writeInt(bHasNews == true ? 1 : 0);
    //
    out.writeInt(mmoItems.size());
    for (ScanexNotificationItem it : mmoItems.values()) {
        out.writeValue(it);
    }
}