Java tutorial
//package com.java2s; import android.os.Parcel; public class Main { public static Boolean readBooleanFromParcel(Parcel in) { return (in.readByte() != 0) ? (in.readByte() != 0) : null; } }