Android examples for Database:Cursor Get
get Int from Cursor by column name
//package com.java2s; import android.database.Cursor; public class Main { protected static int getInt(Cursor mCursor, String column) { return mCursor.getInt(mCursor.getColumnIndex(column)); }// w w w .jav a 2 s. co m }