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