Java tutorial
//package com.java2s; import android.database.Cursor; import java.io.File; public class Main { private static File getCursorFile(Cursor cursor, String column) { return new File(cursor.getString(cursor.getColumnIndexOrThrow(column))); } }