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:org.y20k.transistor.core.Station.java

protected Station(Parcel in) {
    TITLE = in.readString();
    StreamURI = in.readString();/*from w  ww.  j a va 2  s  .c  o  m*/
    mStationFetchResults = in.readBundle(Bundle.class.getClassLoader());
    mPlayback = in.readByte() != 0; // true if byte != 0

    _ID = in.readLong();
    UNIQUE_ID = in.readString();
    SUBTITLE = in.readString();
    IMAGE_PATH = in.readString();
    IMAGE_FILE_NAME = in.readString();
    SMALL_IMAGE_FILE_NAME = in.readString();
    CONTENT_TYPE = in.readString();
    DESCRIPTION = in.readString();
    RATING = in.readInt();
    COMMA_SEPARATED_TAGS = in.readString();
    CATEGORY = in.readString();
    MarkdownDescription = in.readString();
    SMALL_IMAGE_PATH = in.readString();
    IS_FAVOURITE = in.readInt();
    THUMP_UP_STATUS = in.readString();

    LogHelper.v(LOG_TAG, "Station re-created from parcel. State of playback is: " + mPlayback);
}

From source file:com.baasbox.android.BaasDocument.java

BaasDocument(Parcel source) {
    this.collection = source.readString();
    this.id = Util.readOptString(source);
    this.version = source.readLong();
    this.author = Util.readOptString(source);
    this.creation_date = Util.readOptString(source);
    this.rid = Util.readOptString(source);
    this.data = source.readParcelable(JsonWrapper.class.getClassLoader());
}

From source file:com.baasbox.android.BaasUser.java

BaasUser(Parcel source) {
    super();/*w  w w  . j  a  va  2  s .  c o  m*/
    this.username = source.readString();
    this.signupDate = source.readString();
    this.status = source.readString();
    readStringSet(source, this.roles);
    this.privateData = readOptJson(source);
    this.friendVisibleData = readOptJson(source);
    this.registeredVisibleData = readOptJson(source);
    this.publicVisibleData = readOptJson(source);
}

From source file:com.wootric.androidsdk.objects.Settings.java

private Settings(Parcel in) {
    this.firstSurvey = (Long) in.readValue(Long.class.getClassLoader());
    this.userID = (Long) in.readValue(Long.class.getClassLoader());
    this.accountID = (Long) in.readValue(Long.class.getClassLoader());
    this.adminPanelTimeDelay = in.readInt();
    this.localizedTexts = in.readParcelable(LocalizedTexts.class.getClassLoader());
    this.adminPanelCustomMessage = in.readParcelable(WootricCustomMessage.class.getClassLoader());
    this.localCustomMessage = in.readParcelable(WootricCustomMessage.class.getClassLoader());
    this.timeDelay = in.readInt();
    this.surveyImmediately = in.readByte() != 0;
    this.dailyResponseCap = (Integer) in.readValue(Integer.class.getClassLoader());
    this.registeredPercent = (Integer) in.readValue(Integer.class.getClassLoader());
    this.visitorPercent = (Integer) in.readValue(Integer.class.getClassLoader());
    this.resurveyThrottle = (Integer) in.readValue(Integer.class.getClassLoader());
    this.declineResurveyThrottle = (Integer) in.readValue(Integer.class.getClassLoader());
    this.languageCode = in.readString();
    this.productName = in.readString();
    this.recommendTarget = in.readString();
    this.facebookPageId = in.readString();
    this.twitterPage = in.readString();
    this.customThankYou = in.readParcelable(WootricCustomThankYou.class.getClassLoader());
}

From source file:net.phase.wallet.Currency.java

public Transaction(Parcel in) {
    this.date = (Date) in.readSerializable();
    this.amount = in.readLong();
    this.from = in.readString();
    this.to = in.readString();
    this.amountin = in.readLong();
    this.amountout = in.readLong();
}

From source file:android.app.FragmentState.java

public FragmentState(Parcel in) {
    mClassName = in.readString();
    mIndex = in.readInt();//from   w ww  .  ja va  2  s . com
    mFromLayout = in.readInt() != 0;
    mFragmentId = in.readInt();
    mContainerId = in.readInt();
    mTag = in.readString();
    mRetainInstance = in.readInt() != 0;
    mDetached = in.readInt() != 0;
    mArguments = in.readBundle();
    mSavedFragmentState = in.readBundle();
}