List of usage examples for android.os Parcel readString
public final String readString()
From source file:com.nextgis.maplib.datasource.ngw.Resource.java
protected Resource(Parcel in) { mName = in.readString(); mHasChildren = in.readByte() == 1;/*from w w w . j a v a 2 s.co m*/ mDescription = in.readString(); mKeyName = in.readString(); mOwnerId = in.readLong(); boolean hasPermissions = in.readByte() == 1; if (hasPermissions) { try { mPermissions = new JSONObject(in.readString()); } catch (JSONException e) { e.printStackTrace(); } } mType = in.readInt(); mId = in.readInt(); }
From source file:com.clover.sdk.v1.customer.Address.java
Address(Parcel in) throws JSONException { String json = in.readString(); this.data = new JSONObject(json); }
From source file:com.jetradar.multibackstack.BackStackEntry.java
private BackStackEntry(Parcel in) { final ClassLoader loader = getClass().getClassLoader(); fname = in.readString(); args = in.readBundle(loader);// w w w .j a va 2s .c om switch (in.readInt()) { case NO_STATE: state = null; break; case SAVED_STATE: state = SavedState.CREATOR.createFromParcel(in); break; case PARCELABLE_STATE: state = in.readParcelable(loader); break; default: throw new IllegalStateException(); } }
From source file:com.aknowledge.v1.automation.PytoDevice.java
public PytoDevice createFromParcel(Parcel source) { PytoDevice mDevice = new PytoDevice(); mDevice.devID = source.readString(); mDevice.devCommands = source.createStringArray(); mDevice.devName = source.readString(); mDevice.devState = source.readString(); mDevice.devType = source.readString(); return mDevice; }
From source file:com.morphoss.jumble.models.Localisation.java
private void readFromParcel(Parcel in) { nameKey = in.readString(); word = in.readString();//from w ww .j a v a 2 s . com soundPath = in.readString(); countryCode = in.readString(); if (countryCode == null) throw new NullPointerException("Country code should not be null!"); }
From source file:edu.umich.flowfence.testapp.TestQM.java
public TestQM(Parcel source, ClassLoader loader) { init(source.readString()); trace("parcel.in", this); }
From source file:com.tigerpenguin.places.model.Review.java
@SuppressWarnings("unchecked") public Review(Parcel in) { aspectRatings = in.readArrayList(AspectRating.class.getClassLoader()); authorName = in.readString(); authorUrl = in.readString();//ww w .j a va 2s.c o m language = (Language) in.readSerializable(); rating = in.readInt(); text = in.readString(); submitTime = in.readLong(); }
From source file:com.josephblough.sbt.criteria.LicensesAndPermitsSearchCriteria.java
private LicensesAndPermitsSearchCriteria(Parcel in) { searchBy = in.readInt();//w w w . j av a 2s.co m state = in.readString(); category = in.readString(); businessType = in.readString(); businessTypeSubfilter = in.readInt(); businessTypeSubfilterLocality = in.readString(); }
From source file:com.sayar.requests.auth.HttpBasicAuthentication.java
private HttpBasicAuthentication(final Parcel in) { this.username = in.readString(); this.password = in.readString(); }
From source file:net.henriquerocha.android.codebits.api.Talk.java
private Talk(Parcel source) { this.id = source.readString(); this.title = source.readString(); this.author = source.readString(); this.description = source.readString(); this.proposed = source.readString(); this.upVotes = source.readInt(); this.downVotes = source.readInt(); this.rate = source.readString(); }