Here you can find the source of newClosedCursor()
public static MatrixCursor newClosedCursor()
//package com.java2s; /*// w w w. ja va2 s . co m * Copyright (c) 2012 Hai Bison * * See the file LICENSE at the root directory of this project for copying * permission. */ import android.database.MatrixCursor; public class Main { /** * Creates new cursor, closes it and returns it ^ * * @return the newly closed cursor. */ public static MatrixCursor newClosedCursor() { MatrixCursor cursor = new MatrixCursor(new String[0]); cursor.close(); return cursor; } }