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:net.soulwolf.structure.core.FragmentParameter.java

public FragmentParameter(Parcel in) {

    mFragmentClass = (Class) in.readSerializable();

    mParams = in.readBundle();//from  w  w w . j a  v  a2s . c  o m

    mTag = in.readString();

    mRequestCode = in.readInt();

    mResultCode = in.readInt();

    int size = in.readInt();
    mAnimationRes = new int[size];
    in.readIntArray(mAnimationRes);

    mResultParams = in.readParcelable(getClass().getClassLoader());

}

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

/**
 * Victim Parcelable Constructor./*from  w  w  w  . j  a  v  a 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 Victim(Parcel in) {
    setId(in.readInt());
    setName(in.readString());
    setGender(in.readInt());
    setBirthDateString(in.readString());
    setAge(in.readInt());
    setStatusString(in.readString());
}

From source file:com.tigerpenguin.places.model.PlaceDetail.java

@SuppressWarnings("unchecked")
public PlaceDetail(Parcel in) {
    addressComponents = in.readArrayList(AddressComponent.class.getClassLoader());
    formattedAddress = in.readString();
    localPhone = in.readString();//w w w. j  ava  2  s  . c  o  m
    geometry = in.readParcelable(Geometry.class.getClassLoader());
    iconUrl = in.readString();
    placeId = in.readString();
    internationalPhone = in.readString();
    name = in.readString();
    openingHours = in.readParcelable(OpeningHours.class.getClassLoader());
    photos = in.readArrayList(Photo.class.getClassLoader());
    priceLevel = (PriceLevel) in.readSerializable();
    rating = in.readDouble();
    reviews = in.readArrayList(Review.class.getClassLoader());
    types = in.readArrayList(PlaceType.class.getClassLoader());
    googlePlacePageUrl = in.readString();
    utcOffset = in.readInt();
    vicinity = in.readString();
    businessWebsite = in.readString();
}

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

public Audio(Parcel in) {
    this.id = in.readInt();
    this.ownerId = in.readInt();
    this.artist = in.readString();
    this.title = in.readString();
    this.duration = in.readInt();
    this.url = in.readString();
    this.lyricsId = in.readInt();
    this.albumId = in.readInt();
    this.genre = in.readInt();
    this.accessKey = in.readString();
    this.setCacheFile(in.readString());
}

From source file:com.citrus.sdk.payment.PaymentBill.java

private PaymentBill(Parcel in) {
    this.amount = in.readParcelable(Amount.class.getClassLoader());
    this.requestSignature = in.readString();
    this.merchantTransactionId = in.readString();
    this.merchantAccessKey = in.readString();
    this.returnUrl = in.readString();
    this.notifyUrl = in.readString();
    this.customParametersMap = in.readHashMap(String.class.getClassLoader());
}

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

/**
 * Task Parcelable Constructor.// ww  w.j a  v a 2s. 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 Task(Parcel in) {
    setId(in.readInt());
    setTitle(in.readString());
    setDescription(in.readString());
    setStatusString(in.readString());
    setStartDateString(in.readString());
    setEndDateString(in.readString());
    setPriorityString(in.readString());
}

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

/**
 * Creates a WikiPage instance from Parcel.
 *//* w w  w. ja va 2  s.  c o m*/
public VKApiWikiPage(Parcel in) {
    this.id = in.readInt();
    this.group_id = in.readInt();
    this.creator_id = in.readInt();
    this.title = in.readString();
    this.source = in.readString();
    this.current_user_can_edit = in.readByte() != 0;
    this.current_user_can_edit_access = in.readByte() != 0;
    this.who_can_view = in.readInt();
    this.who_can_edit = in.readInt();
    this.editor_id = in.readInt();
    this.edited = in.readLong();
    this.created = in.readLong();
    this.parent = in.readString();
    this.parent2 = in.readString();
}

From source file:com.lugia.timetable.Schedule.java

/**
 * Constructor for Parcelable.//from ww w . ja  v  a2s.co  m
 *
 * @param parcel the parcel.
 */
private Schedule(Parcel parcel) {
    mSection = parcel.readInt();
    mDay = parcel.readInt();
    mTime = parcel.readInt();
    mLength = parcel.readInt();

    mRoom = parcel.readString();
}

From source file:org.alfresco.mobile.android.api.session.impl.CloudSessionImpl.java

@SuppressWarnings("unchecked")
public CloudSessionImpl(Parcel o) {
    this.baseUrl = o.readString();
    this.userIdentifier = o.readString();
    this.password = o.readString();
    this.currentNetwork = (CloudNetwork) o.readSerializable();
    this.rootNode = o.readParcelable(FolderImpl.class.getClassLoader());
    this.repositoryInfo = (RepositoryInfo) o.readSerializable();
    this.cmisSession = (Session) o.readSerializable();
    Bundle b = o.readBundle();/*from   www  .  ja va  2 s .c  o m*/
    this.userParameters = (Map<String, Serializable>) b.getSerializable("userParameters");
    create();
}

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

/**
 * Creates a Poll instance from Parcel.//from   w  ww.j  a  va  2  s  .  com
 */
public VKApiPoll(Parcel in) {
    this.id = in.readInt();
    this.owner_id = in.readInt();
    this.created = in.readLong();
    this.question = in.readString();
    this.votes = in.readInt();
    this.answer_id = in.readInt();
    this.answers = in.readParcelable(VKList.class.getClassLoader());
}