返回的值是cursorwhile(cursor.moveToFirst){ String name = cursor.getString(cursor.getColumnIndex("列的名称")); text.setText(name);}