Code example for Parcel

Methods: readInt, readStrongBinder

    public CursorWindow(Parcel source,int foo) {
        IBinder nativeBinder = source.readStrongBinder();
        mStartPos = source.readInt();
    /** Get the binder for the native side of the window */ 
    private native IBinder native_getBinder();
    /** Does the native side initialization for an empty window */ 
    private native void native_init(boolean localOnly);
    /** Does the native side initialization with an existing binder from another process */ 
    private native void native_init(IBinder nativeBinder);