List of usage examples for android.os Parcel readString
public final String readString()
From source file:vandy.mooc.model.provider.VideoClient.java
public VideoClient(Parcel in) { id = in.readLong();//from w w w .j av a 2s .c o m title = in.readString(); duration = in.readLong(); location = in.readString(); subject = in.readString(); contentType = in.readString(); rating = in.readDouble(); count = in.readInt(); filepath = in.readString(); }
From source file:br.ufrj.ppgi.jemf.mobile.bean.Contact.java
/** * Contact Parcelable Constructor.//from ww w . ja v a 2 s .c om * Parcelable to get passed among activities through Intent (similar to Serialization). * Attention to class members order an this use FIFO method. */ private Contact(Parcel in) { setId(in.readInt()); setPhone(in.readString()); setEmail(in.readString()); setRadio(in.readString()); setLanguageString(in.readString()); }
From source file:org.alfresco.mobile.android.api.session.impl.RepositorySessionImpl.java
@SuppressWarnings("unchecked") public RepositorySessionImpl(Parcel o) { this.baseUrl = o.readString(); this.userIdentifier = o.readString(); this.password = o.readString(); this.rootNode = o.readParcelable(FolderImpl.class.getClassLoader()); this.repositoryInfo = (RepositoryInfo) o.readSerializable(); this.cmisSession = (Session) o.readSerializable(); Bundle b = o.readBundle();//from w w w . j ava2 s . c o m this.userParameters = (Map<String, Serializable>) b.getSerializable("userParameters"); initServices(); }
From source file:com.github.leonardoxh.temporeal.app.model.User.java
/** * Este construtor vai resgatar o usuario de um parcelable para nos * @param parcel o parcelable para resgatarmos os valores *//*from ww w.j a va 2s. c o m*/ public User(Parcel parcel) { setId(parcel.readLong()); setServerId(parcel.readLong()); setPlusId(parcel.readString()); setDisplayName(parcel.readString()); setProfileUrl(parcel.readString()); setProfileImage(parcel.readString()); }
From source file:br.ufrj.ppgi.jemf.mobile.bean.Location.java
/** * Location Parcelable Constructor./*from w w w. jav 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 Location(Parcel in) { setId(in.readInt()); setStatusString(in.readString()); setTimeStampString(in.readString()); setInterval(in.readInt()); }
From source file:android.hawkencompanionapp.models.UserLoginSession.java
private void readFromParcel(Parcel in) { boolean[] b = new boolean[] { mIsUserValid }; mPhpSessionId = in.readString(); mPhpTrackingId = in.readString();/*from w ww .j av a 2s. c om*/ mPhpAccessId = in.readString(); in.readBooleanArray(b); mIsUserValid = b[0]; }
From source file:br.ufrj.ppgi.jemf.mobile.bean.Witness.java
/** * Witness Parcelable Constructor./*from w w w . j a v a2 s . co m*/ * Parcelable to get passed among activities through Intent (similar to Serialization). * Attention to class members order an this use FIFO method. */ private Witness(Parcel in) { setId(in.readInt()); setName(in.readString()); setGender(in.readInt()); setBirthDateString(in.readString()); setAge(in.readInt()); }
From source file:br.ufrj.ppgi.jemf.mobile.bean.InterestPoint.java
/** * InterestPoint Parcelable Constructor. * Parcelable to get passed among activities through Intent (similar to Serialization). * Attention to class members order an this use FIFO method. *//*w w w. j a va2s. c o m*/ private InterestPoint(Parcel in) { setId(in.readInt()); setStatusString(in.readString()); setTimeStampString(in.readString()); setInterval(in.readInt()); setName(in.readString()); }
From source file:com.vk.sdk.api.model.VKApiUser.java
/** * Creates an User instance from Parcel. *//* w w w .jav a 2s . c o m*/ public VKApiUser(Parcel in) { super(in); this.first_name = in.readString(); this.last_name = in.readString(); this.online = in.readByte() != 0; this.online_mobile = in.readByte() != 0; this.photo_50 = in.readString(); this.photo_100 = in.readString(); this.photo_200 = in.readString(); this.photo = in.readParcelable(VKPhotoSizes.class.getClassLoader()); this.full_name = in.readString(); }
From source file:com.tdispatch.passenger.model.ApiSearchLocationData.java
private ApiSearchLocationData(Parcel in) { setTown(in.readString()); setCountry(in.readString());//from www . j a v a2s . co m setPostCode(in.readString()); setAddress(in.readString()); setCounty(in.readString()); setLatitude(in.readDouble()); setLongitude(in.readDouble()); }