public static int firstInt ( Cursor cursor , boolean close ) { int i = cursor . moveToFirst ( ) ? cursor . getInt ( 0 ) : Integer . MIN_VALUE ; close ( cursor , close ) ; return i ; }
Get the int value in the first row and column .