@@ -0,0 +1,764 @@
+package fr.tvbarthel.apps.sayitfromthesky.helpers;%0A%0Aimport android.database.Cursor;%0A%0A/**%0A * Static utility methods for dealing with cursor.%0A */%0Apublic final class CursorHelper %7B%0A%0A    // Non-instantiability%0A    private CursorHelper() %7B%0A    %7D%0A%0A    public static String getString(Cursor cursor, String columnName, String defaultValue) %7B%0A        final int columnIndex = cursor.getColumnIndex(columnName);%0A        if (columnIndex == -1) return defaultValue;%0A        return cursor.getString(columnIndex);%0A    %7D%0A%0A    public static long getLong(Cursor cursor, String columnName, long defaultValue) %7B%0A        final int columnIndex = cursor.getColumnIndex(columnName);%0A        if (columnIndex == -1) return defaultValue;%0A        return cursor.getLong(columnIndex);%0A    %7D%0A%0A%7D%0A

Add an helper class to deal with cursor