Here you can find the source of getBoolean(ContentValues alarm, String key)
public static boolean getBoolean(ContentValues alarm, String key)
//package com.java2s; import android.content.ContentValues; public class Main { public static boolean getBoolean(ContentValues alarm, String key) { Integer value = alarm.getAsInteger(key); return (value != null) && (value != 0); }//from w ww . jav a 2s .c om }