Here you can find the source of getDouble(Cursor cursor, String columnName)
public static double getDouble(Cursor cursor, String columnName)
import android.database.CharArrayBuffer; import android.database.Cursor; import android.provider.BaseColumns; public class Main{ public static double getDouble(Cursor cursor, String columnName) { return cursor.getDouble(cursor.getColumnIndex(columnName)); }/*from w ww. j av a 2 s. co m*/ public double getDouble(String columnName) { return getDouble(cursor, columnName); } }