Java tutorial
//package com.java2s; import android.os.Parcel; public class Main { /** * read boolean * * @param in * @return */ public static boolean readBoolean(Parcel in) { return in.readInt() == 1; } }