Android Cursor Read getDouble(Cursor cursor, String columnName)

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

Description

get Double

Declaration

public static double getDouble(Cursor cursor, 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 ww.  j  av a 2  s. co m*/
    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(String columnName)
  6. getFileFromUri(Uri uri, Activity activity)
  7. getFileNameFromUri(Uri uri, Activity activity)
  8. getFloat(Cursor cursor, String columnName)