Java Code Examples for android.os.Parcel.readString()

The following are Jave code examples for showing how to use readString() of the android.os.Parcel class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
+ Save this method
Example 1
Project: omnicrow-android   File: TrackedBeacon.java   View Source Code Vote up 6 votes
protected TrackedBeacon(Parcel in) {
    id = in.readString();
    uuid = in.readString();
    lastSeenTime = in.readLong();
    major = in.readString();
    minor = in.readString();
    txPower = in.readInt();
    rssi = in.readInt();
    distance = in.readDouble();
    bleName = in.readString();
    bleAddress = in.readString();
    type = in.readInt();
    urlEddystone = in.readString();
    this.actions = new ArrayList<>();
    in.readList(actions, getClass().getClassLoader());
}
 
Example 2
Project: Tusky   File: Card.java   View Source Code Vote up 5 votes
private Card(Parcel in) {
    url = in.readString();
    title = in.readString();
    description = in.readString();
    image = in.readString();
    type = in.readString();
    width = in.readInt();
    height = in.readInt();
}
 
Example 3
Project: mvvm-template   File: PullRequestStatusModel.java   View Source Code Vote up 5 votes
private PullRequestStatusModel(Parcel in) {
    int tmpState = in.readInt();
    this.state = tmpState == -1 ? null : StatusStateType.values()[tmpState];
    this.sha = in.readString();
    this.totalCount = in.readInt();
    this.statuses = in.createTypedArrayList(StatusesModel.CREATOR);
    this.commitUrl = in.readString();
    this.url = in.readString();
    this.mergable = in.readByte() != 0;
    long tmpCreatedAt = in.readLong();
    this.createdAt = tmpCreatedAt == -1 ? null : new Date(tmpCreatedAt);
}
 
Example 4
Project: VirtualHook   File: SessionParams.java   View Source Code Vote up 5 votes
protected SessionParams(Parcel in) {
    this.mode = in.readInt();
    this.installFlags = in.readInt();
    this.installLocation = in.readInt();
    this.sizeBytes = in.readLong();
    this.appPackageName = in.readString();
    this.appIcon = in.readParcelable(Bitmap.class.getClassLoader());
    this.appLabel = in.readString();
    this.appIconLastModified = in.readLong();
    this.originatingUri = in.readParcelable(Uri.class.getClassLoader());
    this.referrerUri = in.readParcelable(Uri.class.getClassLoader());
    this.abiOverride = in.readString();
    this.volumeUuid = in.readString();
    this.grantedRuntimePermissions = in.createStringArray();
}
 
Example 5
Project: login   File: User.java   View Source Code Vote up 5 votes
public User(Parcel in) {
    id = in.readInt();
    username = in.readString();
    password = in.readString();
    name = in.readString();
    intro = in.readString();
    starRoutes = in.readString();
    makeRoutes = in.readString();
}
 
Example 6
Project: container   File: PendingResultData.java   View Source Code Vote up 5 votes
protected PendingResultData(Parcel in) {
    this.mType = in.readInt();
    this.mOrderedHint = in.readByte() != 0;
    this.mInitialStickyHint = in.readByte() != 0;
    this.mToken = in.readStrongBinder();
    this.mSendingUser = in.readInt();
    this.mFlags = in.readInt();
    this.mResultCode = in.readInt();
    this.mResultData = in.readString();
    this.mResultExtras = in.readBundle();
    this.mAbortBroadcast = in.readByte() != 0;
    this.mFinished = in.readByte() != 0;
}
 
Example 7
Project: xlight_android_native   File: AccountInfo.java   View Source Code Vote up 4 votes
protected AccountInfo(Parcel in) {
    this.firstName = in.readString();
    this.lastName = in.readString();
    this.companyName = in.readString();
    this.businessAccount = in.readByte() != 0;
}
 
Example 8
Project: Camera-Roll-Android-App   File: ExifEditorActivity.java   View Source Code Vote up 4 votes
EditedItem(Parcel in) {
    tag = in.readString();
    newValue = in.readString();
}
 
Example 9
Project: airgram   File: ICustomTabsService.java   View Source Code Vote up 4 votes
public boolean onTransact(int code, Parcel data, Parcel reply, int flags) throws RemoteException {
    ICustomTabsCallback _arg0;
    Bundle _arg1;
    boolean _result;
    Bundle _result2;
    switch (code) {
        case 2:
            data.enforceInterface("android.support.customtabs.ICustomTabsService");
            long _arg02 = data.readLong();
            _result = this.warmup(_arg02);
            reply.writeNoException();
            reply.writeInt(_result ? 1 : 0);
            return true;
        case 3:
            data.enforceInterface("android.support.customtabs.ICustomTabsService");
            _arg0 = ICustomTabsCallback.Stub.asInterface(data.readStrongBinder());
            boolean _arg12 = this.newSession(_arg0);
            reply.writeNoException();
            reply.writeInt(_arg12 ? 1 : 0);
            return true;
        case 4:
            data.enforceInterface("android.support.customtabs.ICustomTabsService");
            _arg0 = ICustomTabsCallback.Stub.asInterface(data.readStrongBinder());
            Uri _arg11;
            if (0 != data.readInt()) {
                _arg11 = Uri.CREATOR.createFromParcel(data);
            } else {
                _arg11 = null;
            }

            if (0 != data.readInt()) {
                _result2 = Bundle.CREATOR.createFromParcel(data);
            } else {
                _result2 = null;
            }

            ArrayList _arg3 = data.createTypedArrayList(Bundle.CREATOR);
            boolean _result1 = this.mayLaunchUrl(_arg0, _arg11, _result2, _arg3);
            reply.writeNoException();
            reply.writeInt(_result1 ? 1 : 0);
            return true;
        case 5:
            data.enforceInterface("android.support.customtabs.ICustomTabsService");
            String _arg01 = data.readString();
            if (0 != data.readInt()) {
                _arg1 = Bundle.CREATOR.createFromParcel(data);
            } else {
                _arg1 = null;
            }

            _result2 = this.extraCommand(_arg01, _arg1);
            reply.writeNoException();
            if (_result2 != null) {
                reply.writeInt(1);
                _result2.writeToParcel(reply, 1);
            } else {
                reply.writeInt(0);
            }

            return true;
        case 6:
            data.enforceInterface("android.support.customtabs.ICustomTabsService");
            _arg0 = ICustomTabsCallback.Stub.asInterface(data.readStrongBinder());
            if (0 != data.readInt()) {
                _arg1 = Bundle.CREATOR.createFromParcel(data);
            } else {
                _arg1 = null;
            }

            _result = this.updateVisuals(_arg0, _arg1);
            reply.writeNoException();
            reply.writeInt(_result ? 1 : 0);
            return true;
        case 1598968902:
            reply.writeString("android.support.customtabs.ICustomTabsService");
            return true;
        default:
            return super.onTransact(code, data, reply, flags);
    }
}
 
Example 10
Project: chaosflix   File: StreamUrl.java   View Source Code Vote up 4 votes
protected StreamUrl(Parcel in) {
	display = in.readString();
	tech = in.readString();
	url = in.readString();
}
 
Example 11
Project: BilibiliClient   File: UserPlayGameInfo.java   View Source Code Vote up 4 votes
protected GamesBean(Parcel in) {

        this.website = in.readString();
        this.image = in.readString();
        this.name = in.readString();
      }
 
Example 12
Project: GitHub   File: FragmentTabHost.java   View Source Code Vote up 4 votes
private SavedState(Parcel in) {
    super(in);
    curTab = in.readString();
}
 
Example 13
Project: Android-app   File: GenreModel.java   View Source Code Vote up 4 votes
protected GenreModel(Parcel in) {
    this.id = (Long) in.readValue(Long.class.getClassLoader());
    this.name = in.readString();
}
 
Example 14
Project: buildAPKsApps   File: Fact.java   View Source Code Vote up 4 votes
private void readFromParcel(Parcel parcel) {
	id = parcel.readInt();
	fact = parcel.readString();
	author = parcel.readString();
}
 
Example 15
Project: Book-Shelf   File: Exit.java   View Source Code Vote up 4 votes
protected Exit(Parcel in) {
    this.exit = in.readString();
}
 
Example 16
Project: OpenHub   File: NotificationSubject.java   View Source Code Vote up 4 votes
protected NotificationSubject(Parcel in) {
    this.title = in.readString();
    this.url = in.readString();
    int tmpType = in.readInt();
    this.type = tmpType == -1 ? null : Type.values()[tmpType];
}
 
Example 17
Project: state-bundle   File: TestKey.java   View Source Code Vote up 4 votes
protected TestKey(Parcel in) {
    name = in.readString();
}
 
Example 18
Project: TPlayer   File: PendingIntentData.java   View Source Code Vote up 4 votes
protected PendingIntentData(Parcel source) {
    this.creator = source.readString();
    this.pendingIntent = PendingIntent.readPendingIntentOrNullFromParcel(source);
}
 
Example 19
Project: NoticeDog   File: Action.java   View Source Code Vote up 4 votes
public Action(Parcel in) {
    this.icon = in.readInt();
    this.title = in.readString();
    this.actionIntent = (PendingIntent) in.readParcelable(PendingIntent.class.getClassLoader());
}
 
Example 20
Project: gamesboard   File: InvocationReturnBean.java   View Source Code Vote up 4 votes
public void readFromParcel(Parcel in) {
    returnValue = in.readValue(getClass().getClassLoader());
    errorClassName = in.readString();
}