Java tutorial
//package com.java2s; import android.database.Cursor; public class Main { protected static String getString(Cursor mCursor, String column) { return mCursor.getString(mCursor.getColumnIndex(column)); } }