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:edu.umich.oasis.testapp.TestSoda.java

public TestSoda(Parcel source, ClassLoader loader) {
    init(source.readString());
    trace("parcel.in", this);
}

From source file:us.dustinj.locationstore.Export.java

public Export(Parcel in) {
    SetStartTime(in.readLong());
    SetDuration(in.readLong());
    SetExportID(in.readString());
}

From source file:edgargtzg.popularmovies.MovieItem.java

/**
 * Populating class variables./*ww w.ja v  a 2  s  .  c om*/
 *
 * @param in the parcel request.
 */
protected MovieItem(Parcel in) {
    mMovieId = in.readString();
    mOriginalTitle = in.readString();
    mMoviePoster = in.readString();
    mPlotSynopsis = in.readString();
    mUserRating = in.readString();
    mReleaseDate = in.readString();
}

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

protected Item(Parcel in) {
    mOriginalJson = in.readString();
    mSku = in.readString();/*from  w  ww  . j a  v  a  2  s.c  o  m*/
    mType = in.readString();
    mTitle = in.readString();
    mDescription = in.readString();
    mCurrency = in.readString();
    mPrice = in.readString();
    mPriceMicros = in.readLong();
    mSubscriptionPeriod = in.readString();
    mFreeTrialPeriod = in.readString();
    mIntroductoryPrice = in.readString();
    mIntroductoryPriceAmountMicros = in.readLong();
    mIntroductoryPricePeriod = in.readString();
    mIntroductoryPriceCycles = in.readInt();
}

From source file:vandy.mooc.model.provider.Video.java

public Video(Parcel in) {
    id = in.readLong();//from w  ww . j a  v a  2 s .  com
    title = in.readString();
    duration = in.readLong();
    location = in.readString();
    subject = in.readString();
    contentType = in.readString();
    rating = in.readDouble();
    count = in.readInt();
}

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

public Tweet(Parcel in) {
    id = in.readString();
    text = in.readString();/*w w w.  ja v  a  2s .  co  m*/
    createdAt = (Date) in.readValue(Date.class.getClassLoader());
    screenName = in.readString();
    favorited = in.readString();
    inReplyToStatusId = in.readString();
    inReplyToUserId = in.readString();
    inReplyToScreenName = in.readString();
    repostStatusId = in.readString();
    repostUserId = in.readString();
    screenName = in.readString();
    profileImageUrl = in.readString();
    thumbnail_pic = in.readString();
    bmiddle_pic = in.readString();
    original_pic = in.readString();
    userId = in.readString();
    source = in.readString();
}

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

/**
 * Equipment Parcelable Constructor./*ww  w . j  a  va  2 s  .c  o m*/
 * Parcelable to get passed among activities through Intent (similar to Serialization).
 * Attention to class members order an this use FIFO method.
 */
private Equipment(Parcel in) {
    setId(in.readInt());
    setName(in.readString());
    setStatusString(in.readString());
    setDescription(in.readString());
}

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

private CourseContent(Parcel in) {
    this.id = in.readInt();
    this.name = in.readString();
    this.visible = in.readInt();
    this.summary = in.readString();
    in.readTypedList(this.modules, Module.CREATOR);
}

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

private void readFromParcel(Parcel in) {
    nameKey = in.readString();
    imagePath = in.readString();//  w w  w. j  ava  2  s .c  o m

    Parcelable[] arr = in.readParcelableArray(Localisation.class.getClassLoader());

    for (Parcelable p : arr)
        this.localisations.put(((Localisation) p).getCountryCode(), (Localisation) p);

}

From source file:no.ntnu.osnap.social.models.Notification.java

public Notification(Parcel in) throws JSONException {
    super(in.readString());
    mTransl = in.readHashMap(null);
}