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:com.paranoid.gerrit.objects.CommitComment.java

public CommitComment(Parcel parcel) {
    try {/*  w  w w.  j  av  a  2s .  c o m*/
        mJsonObject = new JSONObject(parcel.readString());
        mId = parcel.readString();
        mAuthorObject = parcel.readParcelable(CommitterObject.class.getClassLoader());
        mDate = parcel.readString();
        mMessage = parcel.readString();
        mRevisionNumber = parcel.readInt();
    } catch (JSONException e) {
        Log.e(TAG, "Failed to create object from Parcel!", e);
    }
}

From source file:edgargtzg.popularmovies.MovieItemVideo.java

/**
 * Populating class variables.//from w w  w .j a va 2 s .  c om
 *
 * @param in the parcel request.
 */
protected MovieItemVideo(Parcel in) {
    mVideoKey = in.readString();
    mVideoName = in.readString();
    mVideoSite = in.readString();
    mVideoType = in.readString();
}

From source file:me.willowcheng.makerthings.model.OpenHABSitemap.java

private OpenHABSitemap(Parcel in) {
    this.name = in.readString();
    this.label = in.readString();
    this.link = in.readString();
    this.icon = in.readString();
    this.homepageLink = in.readString();
}

From source file:ca.frozen.curlingtv.classes.Camera.java

private void readFromParcel(Parcel in) {
    network = in.readString();
    name = in.readString();
    address = in.readString();
    port = in.readInt();
}

From source file:ir.aarani.bazaar.billing.PurchaseInfo.java

protected PurchaseInfo(Parcel in) {
    this.responseData = in.readString();
    this.signature = in.readString();
}

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

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

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

/**
 * Creates a Chat instance from Parcel./*from   w  ww.  j a  v  a2 s. c  om*/
 */
public VKApiChat(Parcel in) {
    this.id = in.readInt();
    this.type = in.readString();
    this.title = in.readString();
    this.admin_id = in.readInt();
    this.users = in.createIntArray();
}

From source file:com.paranoid.gerrit.objects.CommitterObject.java

public CommitterObject(Parcel parcel) {
    mName = parcel.readString();
    mEmail = parcel.readString();/*from  w  w w  . j a v  a  2 s.  c  o  m*/
    mDate = parcel.readString();
    mTimezone = parcel.readString();
    mAccountId = parcel.readInt();
    mState = parcel.readString();
}

From source file:com.danlvse.weebo.model.Comment.java

protected Comment(Parcel in) {
    this.created_at = in.readString();
    this.id = in.readString();
    this.text = in.readString();
    this.source = in.readString();
    this.user = in.readParcelable(User.class.getClassLoader());
    this.mid = in.readString();
    this.idstr = in.readString();
    this.status = in.readParcelable(Feed.class.getClassLoader());
    this.reply_comment = in.readParcelable(Comment.class.getClassLoader());
}

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

private Images(Parcel in) {
    this.mView = in.readString();
    this.mZoom = in.readString();
    this.mThumb = in.readString();
}