Android Context Get getBoolean(ContentValues alarm, String key)

Here you can find the source of getBoolean(ContentValues alarm, String key)

Description

get Boolean

Declaration

public static boolean getBoolean(ContentValues alarm, String key) 

Method Source Code

//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
}

Related

  1. getRawInteger(Context c, int resId)
  2. getBitmapFromAssert(Context thisContext, String name)
  3. getString(Context context, int id)
  4. getString(Context context, int resId, Map replacement)
  5. getStringFromXml(Context context, int resId)
  6. findOne(Context context, Uri uri)
  7. getCurrentTimeString(Context aContext, long aDate)
  8. getCurrentTimeString(Context context)
  9. readRaw(Context ctx, int res_id)