public static long firstLong ( Cursor cursor , boolean close ) { long l = cursor . moveToFirst ( ) ? cursor . getLong ( 0 ) : Long . MIN_VALUE ; close ( cursor , close ) ; return l ; }
Get the long value in the first row and column .