Android Cursor Read getDouble(String columnName)

Here you can find the source of getDouble(String columnName)

Description

get Double

Declaration

public double getDouble(String columnName) 

Method Source Code

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  w w . j av a  2  s. c  om
    public double getDouble(String columnName) {
        return getDouble(cursor, columnName);
    }
}

Related

  1. copyStringToBuffer(Cursor cursor, String columnName, CharArrayBuffer buffer)
  2. extractFilenameFromUri(Uri uri, Activity activity)
  3. getBlob(Cursor cursor, String columnName)
  4. getBlob(String columnName)
  5. getDouble(Cursor cursor, String columnName)
  6. getFileFromUri(Uri uri, Activity activity)
  7. getFileNameFromUri(Uri uri, Activity activity)
  8. getFloat(Cursor cursor, String columnName)
  9. getFloat(String columnName)