摘要: Cursor cursor = db.rawQuery("select _id,NAME"+ "from table ", null);SimpleCursorAdapter adapter = new SimpleCursorAdapter(this, R.layout.activity_item,cursor, new String[] { "_id", "NAME" }, new int[]{ R.id.item_ID, R.id.item_Name });注意:SimpleCursorAdapter中字段名 阅读全文
posted @ 2013-10-28 14:17 阿日斯兰 阅读(160) 评论(0) 推荐(0) 编辑