Android examples for Database:Cursor Get
get Int from Cursor
//package com.java2s; import android.database.Cursor; public class Main { public static int getInt(Cursor c, String columnName) { return c.getInt(c.getColumnIndex(columnName)); }//from w w w . j a v a 2s. co m }