{"id":57,"date":"2016-02-01T23:53:54","date_gmt":"2016-02-01T14:53:54","guid":{"rendered":"http:\/\/www.hundredapps.net\/?p=57"},"modified":"2017-11-10T09:52:19","modified_gmt":"2017-11-10T00:52:19","slug":"android%e3%81%ae%e3%83%87%e3%83%bc%e3%82%bf%e3%83%99%e3%83%bc%e3%82%b9%e3%80%82sqlite%e3%82%92%e5%ad%a6%e3%81%bc%e3%81%86%ef%bc%81","status":"publish","type":"post","link":"https:\/\/www.hundredapps.net\/?p=57","title":{"rendered":"android\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3002SQLite\u3092\u5b66\u307c\u3046\uff01"},"content":{"rendered":"<a href=\"http:\/\/www.hundredapps.net\/wp-content\/uploads\/2016\/01\/sqlite-640.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.hundredapps.net\/wp-content\/uploads\/2016\/01\/sqlite-640-300x150.png\" alt=\"sqlite-640\" width=\"300\" height=\"150\" class=\"alignnone size-medium wp-image-33\" srcset=\"https:\/\/www.hundredapps.net\/wp-content\/uploads\/2016\/01\/sqlite-640-300x150.png 300w, https:\/\/www.hundredapps.net\/wp-content\/uploads\/2016\/01\/sqlite-640.png 640w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>\n<h2>\u6982\u8981<\/h2>\n<p>Android\u306f\u3001SQLite\u3068\u3044\u3046\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<br \/> \u6a5f\u80fd\u9762\u3068\u3057\u3066\u3001\u691c\u7d22\u3001\u633f\u5165\u3001\u66f4\u65b0\u3001\u524a\u9664\u3068\u3044\u3063\u305f\u3001\u57fa\u672c\u7684\u306a\u51e6\u7406\u3001<br \/> \u307e\u305f\u3001\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u306e\u6a5f\u80fd\u3082\u5099\u3048\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306f\u3001sqlite\u3067\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u308b\u30c7\u30fc\u30bf\u578b\u3067\u3059\u3002<\/p>\n<table style=\"height: 117px;\" width=\"365\">\n<tbody>\n<tr>\n<td>\u578b<\/td>\n<td>\u8aac\u660e<\/td>\n<\/tr>\n<tr>\n<td>INTEGER<\/td>\n<td>\u7b26\u53f7\u4ed8\u6574\u6570<\/td>\n<\/tr>\n<tr>\n<td>REAL<\/td>\n<td>\u6d6e\u52d5\u5c0f\u6570\u70b9\u6570<\/td>\n<\/tr>\n<tr>\n<td>TEXT<\/td>\n<td>\u30c6\u30ad\u30b9\u30c8<\/td>\n<\/tr>\n<tr>\n<td>BLOB<\/td>\n<td>\u30d0\u30a4\u30ca\u30ea<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>\u4f7f\u7528\u3059\u308b\u30dd\u30a4\u30f3\u30c8<\/h2>\n<p>\u30fb\u30c7\u30fc\u30bf\u3092\u6c38\u7d9a\u7684\u306b\u84c4\u7a4d\u3057\u305f\u3044\u5834\u5408<br \/> \u30fb\u5927\u91cf\u30c7\u30fc\u30bf\u3092\u4f5c\u6210\u3001\u8aad\u307f\u51fa\u3057\u3001\u66f4\u65b0\u3001\u524a\u9664\u3092\u3059\u308b\u5834\u5408<br \/> \u30fb\u30c7\u30fc\u30bf\u306e\u7ba1\u7406\u3092\u5bb9\u6613\u306b\u3057\u305f\u3044<\/p>\n<h2>SQL Helper\u3092\u4f7f\u3063\u3066\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3059\u308b<\/h2>\n<p>SQLiteOpenHelper\u3068\u3044\u3046\u4fbf\u5229\u306a\u30af\u30e9\u30b9\u304c\u3042\u308a\u3001\u3053\u306e\u30af\u30e9\u30b9\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u3088\u308a\u3001<br \/> \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u624b\u7d9a\u304d\u3092\u7c21\u7565\u5316\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<br \/> \u307e\u305f\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u64cd\u4f5c\u306b\u4f7f\u3046API\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u3001<br \/> \u300candroid.database.sqlite\u300d\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u305d\u308c\u3067\u306f\u3001\u524d\u7f6e\u304d\u306f\u3053\u306e\u3050\u3089\u3044\u306b\u3057\u3066\u3001SQLiteOpenHelper\u3092\u4f7f\u3044\u3001DB\u30a2\u30af\u30bb\u30b9\u5468\u308a\u306e\u89e3\u8aac\u3092\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p>\u5185\u5bb9\u3068\u3057\u3066\u306f\u3001\u6700\u7d42\u56de\u3067\u89e3\u8aac\u3059\u308b\u30e1\u30e2\u5e33\u30a2\u30d7\u30ea\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30a2\u30af\u30bb\u30b9\u5468\u308a\u3092\u5207\u308a\u51fa\u3057\u305f\u3082\u306e\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u540d:memo.db<br \/> \u30c6\u30fc\u30d6\u30eb\u540d:memo<\/p>\n<table style=\"height: 94px;\" width=\"278\">\n<tbody>\n<tr>\n<td>\u30ab\u30e9\u30e0<\/td>\n<td>\u5185\u5bb9<\/td>\n<\/tr>\n<tr>\n<td>_id<\/td>\n<td>\u30d7\u30e9\u30a4\u30de\u30ea\u30fc\u30ad\u30fc<\/td>\n<\/tr>\n<tr>\n<td>content<\/td>\n<td>\u30c6\u30ad\u30b9\u30c8\u578b<\/td>\n<\/tr>\n<tr>\n<td>created<\/td>\n<td>\u30c6\u30ad\u30b9\u30c8\u578b<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>DatabaseHelper.java<\/p>\n<pre class=\"lang:default decode:true\">\npublic class DatabaseHelper extends SQLiteOpenHelper {\n\n    \/\/ \u30c7\u30fc\u30bf\u30fc\u30d9\u30fc\u30b9\u540d\u3092\u8a18\u8f09\n    static final String DATABASE_NAME = \"memo.db\";\n\n    \/\/ \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\n    \/\/ \u2460(\u30ab\u30e9\u30e0\u306e\u8ffd\u52a0\u306a\u3069\u3067\u3001\u5909\u66f4\u3092\u52a0\u3048\u305f\u5834\u5408\u3001\u30ab\u30a6\u30f3\u30c8\u30a2\u30c3\u30d7\u3059\u308b)\n    static final int DATABASE_VERSION = 2;\n\n    \/\/ \u7d99\u627f\u3057\u3066\u3044\u308b\u89aa\u30af\u30e9\u30b9\u306b\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u540d\u3068\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u30bb\u30c3\u30c8\n    public DatabaseHelper(Context context) {\n        super(context, DATABASE_NAME, null, DATABASE_VERSION);\n    }\n\n\n    \/**\n     * \u2463\u30c6\u30fc\u30d6\u30eb\u306e\u5b9a\u7fa9\n     * \u30c6\u30fc\u30d6\u30eb\u306e\u4f5c\u6210(\u521d\u671f\u30c7\u30fc\u30bf\u306e\u6295\u5165\u3082\u51fa\u6765\u308b)\n     *\/\n    @Override\n    public void onCreate( SQLiteDatabase db ) {\n        \/\/ \u30c6\u30fc\u30d6\u30eb\u3092\u4f5c\u6210\n        db.execSQL(\n                \"create table memo (\"\n                        + \"_id  integer primary key autoincrement not null,\"\n                        + \"content text not null,\"\n                        + \"created text not null\"\n                        + \");\"\n        );\n        \/\/ \u3053\u3053\u3067\u3001\u521d\u671f\u30c7\u30fc\u30bf\u633f\u5165\u53ef\u80fd\n\n\n    }\n\n\n    \/**\n     * \u2464\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u6642\u306e\u51e6\u7406\n     * \u3053\u306e\u4f8b\u3067\u306f\u3001\u53e4\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u6642\u306b\u306f\u3001created\u304c\u306a\u304b\u3063\u305f\u70ba\u3001\u65b0\u3057\u304f\u5b9a\u7fa9\u3057\u76f4\u3057\u3066\u3044\u308b\u3002\n     *\/\n    @Override\n    public void onUpgrade( SQLiteDatabase db, int oldVersion, int newVersion ) {\n        if( oldVersion == 1 &amp;&amp; newVersion == 2 ){\n            db.execSQL(\n                    \"create table memo (\"\n                            + \"_id  integer primary key autoincrement not null,\"\n                            + \"content text not null,\"\n                            + \"created text not null\"\n                            + \");\"\n            );\n        }\n    }\n\n    public SQLiteDatabase open() {\n        return super.getWritableDatabase();\n    }\n    public void close(){\n        super.close();\n    }\n\n}\n\n<\/pre>\n<p>\u6b21\u306b\u3001\u30c7\u30fc\u30bf\u30a2\u30af\u30bb\u30b9\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3067\u3042\u308b\u30af\u30e9\u30b9\u3092\u4f5c\u6210\u3057\u3001\u8ffd\u52a0(insert)\u3001\u691c\u7d22(select)\u3001\u66f4\u65b0(update)\u3001\u524a\u9664(delete)\u306b\u308f\u3051\u3001\u8a18\u8f09\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p>MemoDao.java<\/p>\n<pre class=\"lang:default decode:true\" title=\"MemoDao.java\">\npublic class MemoDao extends DatabaseHelper{\n\n    protected Context mContext = null;\n    protected SQLiteDatabase mDb = null;\n\n    public MemoDao(Context context) {\n        super(context);\n        mContext = context;\n    }\n\n    \/** \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30aa\u30fc\u30d7\u30f3 *\/\n    public void connection() {\n        DatabaseHelper helper = new DatabaseHelper(mContext);\n        mDb = helper.open();\n\n    }\n\n    \/** \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30af\u30ed\u30fc\u30ba *\/\n    public void close() {\n        mDb.close();\n        mDb = null;\n    }\n\n    \/** \u30c7\u30fc\u30bf\u3092\u6295\u5165 *\/\n    public long addMemo( String content ){\n        String dateNow = String.valueOf(DateFormat.format(\n                \"yyyy-MM-dd kk:mm:ss\", Calendar.getInstance()));\n\n        ContentValues val = new ContentValues();\n        val.put( \"content\", content );\n        val.put( \"created\", dateNow );\n\n        return mDb.insert( \"memo\", null, val);\n    }\n\n    \/** \u30c7\u30fc\u30bf\u3092\u8aad\u8fbc\u3080 *\/\n    public ArrayList<HashMap<String, Object>> searchAllByWord(String word){\n        ArrayList<HashMap<String, Object>> memoLists = new ArrayList<HashMap<String, Object>>();\n        String[] selectArgs = new String[]{ word };\n\n        Cursor cursor = null;\n\n        try{\n            cursor = mDb.rawQuery(\n                    \"select * from memo where content like '%' || ? || '%' order by created desc;\"\n                    , selectArgs);\n            while(cursor.moveToNext()) {\n                int id = cursor.getInt(cursor.getColumnIndex(\"_id\"));\n                String content = cursor.getString(cursor.getColumnIndex(\"content\"));\n                String created = cursor.getString(cursor.getColumnIndex(\"created\"));\n\n                HashMap<String, Object> memoList = new HashMap<String, Object>();\n                memoList.put(\"id\", id);\n                memoList.put(\"content\", content);\n                memoList.put(\"created\", created);\n                memoLists.add(memoList);\n            }\n        }\n        finally{\n            if( cursor != null ){\n                cursor.close();\n            }\n        }\n\n        return memoLists;\n    }\n\n    \/** \u30c7\u30fc\u30bf\u3092\u8aad\u8fbc\u3080 *\/\n    public ArrayList<HashMap<String, Object>> searchAll(){\n        ArrayList<HashMap<String, Object>> memoLists = new ArrayList<HashMap<String, Object>>();\n\n        Cursor cursor = null;\n        try{\n            cursor = mDb.rawQuery(\"select * from memo order by created desc;\", null);\n            while(cursor.moveToNext()) {\n                int id = cursor.getInt(cursor.getColumnIndex(\"_id\"));\n                String content = cursor.getString(cursor.getColumnIndex(\"content\"));\n                String created = cursor.getString(cursor.getColumnIndex(\"created\"));\n                Log.d(\"memo\", \"\u5185\u5bb9:\"+content + \"  \u4f5c\u6210\u65e5:\" + created);\n                HashMap<String, Object> memoList = new HashMap<String, Object>();\n                memoList.put(\"id\", id);\n                memoList.put(\"content\", content);\n                memoList.put(\"created\", created);\n                memoLists.add(memoList);\n            }\n        }\n        finally{\n            if( cursor != null ){\n                cursor.close();\n            }\n        }\n\n        return memoLists;\n    }\n\n    \/** \u30e1\u30e2ID\u3067\u691c\u7d22 *\/\n    public HashMap<String, String> searchById( String memoId ){\n        String[] selectArgs = new String[]{ memoId };\n\n        Cursor cursor = null;\n        HashMap<String, String> map = new HashMap<String, String>();\n        try{\n            cursor = mDb.rawQuery(\"select * from memo WHERE _id = ?\", selectArgs);\n\n            while(cursor.moveToNext()) {\n                String id = cursor.getString(cursor.getColumnIndex(\"_id\"));\n                String content = cursor.getString(cursor.getColumnIndex(\"content\"));\n                String created = cursor.getString(cursor.getColumnIndex(\"created\"));\n                map.put(\"id\", id);\n                map.put(\"content\", content);\n                map.put(\"created\", created);\n                Log.d(\"memo\", \"\u5185\u5bb9:\"+content + \"  \u4f5c\u6210\u65e5:\" + created);\n            }\n        }\n        finally{\n            if( cursor != null ){\n                cursor.close();\n            }\n        }\n        return map;\n    }\n\n    \/** \u30e1\u30e2\u3092\u66f4\u65b0 *\/\n    public int updateContentById( String memoId, String content ){\n        String[] selectArgs = new String[]{ memoId };\n        ContentValues val = new ContentValues();\n        val.put(\"content\", content);\n\n        return mDb.update( \"memo\",\n                val,\n                \"_id = ?\",\n                selectArgs);\n    }\n\n    \/** \u30e1\u30e2\u306e\u5185\u5bb9\u3092\u6761\u4ef6\u306b\u524a\u9664 *\/\n    public int delById( String id ){\n        String[] selectArgs = new String[]{ id };\n        return mDb.delete( \"memo\",\n                \"_id = ?\",\n                selectArgs);\n    }\n\n    \/** \u5168\u524a\u9664 *\/\n    public int delAll(){\n        return mDb.delete( \"memo\", null, null );\n    }\n\n\n}\n\n<\/pre>\n<h3>\u8ffd\u52a0<\/h3>\n<pre class=\"lang:default decode:true \" title=\"\u30c7\u30fc\u30bf\u8ffd\u52a0\">        \n        \n    \/** \u30c7\u30fc\u30bf\u3092\u6295\u5165 *\/\n    public long addMemo( String content ){\n        String dateNow = String.valueOf(DateFormat.format(\n                \"yyyy-MM-dd kk:mm:ss\", Calendar.getInstance()));\n\n        ContentValues val = new ContentValues();\n        val.put( \"content\", content );\n        val.put( \"created\", dateNow );\n\n        return mDb.insert( \"memo\", null, val);\n    }\n\n<\/pre>\n<h3>\u691c\u7d22<\/h3>\n<pre class=\"lang:default decode:true \" title=\"\u691c\u7d22\">        \n\n    \/** \u30c7\u30fc\u30bf\u3092\u8aad\u8fbc\u3080 *\/\n    public ArrayList<HashMap<String, Object>> searchAllByWord(String word){\n        ArrayList<HashMap<String, Object>> memoLists = new ArrayList<HashMap<String, Object>>();\n        String[] selectArgs = new String[]{ word };\n\n        Cursor cursor = null;\n\n        try{\n            cursor = mDb.rawQuery(\n                    \"select * from memo where content like '%' || ? || '%' order by created desc;\"\n                    , selectArgs);\n            while(cursor.moveToNext()) {\n                int id = cursor.getInt(cursor.getColumnIndex(\"_id\"));\n                String content = cursor.getString(cursor.getColumnIndex(\"content\"));\n                String created = cursor.getString(cursor.getColumnIndex(\"created\"));\n\n                HashMap<String, Object> memoList = new HashMap<String, Object>();\n                memoList.put(\"id\", id);\n                memoList.put(\"content\", content);\n                memoList.put(\"created\", created);\n                memoLists.add(memoList);\n            }\n        }\n        finally{\n            if( cursor != null ){\n                cursor.close();\n            }\n        }\n\n        return memoLists;\n    }\n\n    \/** \u30c7\u30fc\u30bf\u3092\u8aad\u8fbc\u3080 *\/\n    public ArrayList<HashMap<String, Object>> searchAll(){\n        ArrayList<HashMap<String, Object>> memoLists = new ArrayList<HashMap<String, Object>>();\n\n        Cursor cursor = null;\n        try{\n            cursor = mDb.rawQuery(\"select * from memo order by created desc;\", null);\n            while(cursor.moveToNext()) {\n                int id = cursor.getInt(cursor.getColumnIndex(\"_id\"));\n                String content = cursor.getString(cursor.getColumnIndex(\"content\"));\n                String created = cursor.getString(cursor.getColumnIndex(\"created\"));\n                Log.d(\"memo\", \"\u5185\u5bb9:\"+content + \"  \u4f5c\u6210\u65e5:\" + created);\n                HashMap<String, Object> memoList = new HashMap<String, Object>();\n                memoList.put(\"id\", id);\n                memoList.put(\"content\", content);\n                memoList.put(\"created\", created);\n                memoLists.add(memoList);\n            }\n        }\n        finally{\n            if( cursor != null ){\n                cursor.close();\n            }\n        }\n\n        return memoLists;\n    }\n\n    \/** \u30e1\u30e2ID\u3067\u691c\u7d22 *\/\n    public HashMap<String, String> searchById( String memoId ){\n        String[] selectArgs = new String[]{ memoId };\n\n        Cursor cursor = null;\n        HashMap<String, String> map = new HashMap<String, String>();\n        try{\n            cursor = mDb.rawQuery(\"select * from memo WHERE _id = ?\", selectArgs);\n\n            while(cursor.moveToNext()) {\n                String id = cursor.getString(cursor.getColumnIndex(\"_id\"));\n                String content = cursor.getString(cursor.getColumnIndex(\"content\"));\n                String created = cursor.getString(cursor.getColumnIndex(\"created\"));\n                map.put(\"id\", id);\n                map.put(\"content\", content);\n                map.put(\"created\", created);\n                Log.d(\"memo\", \"\u5185\u5bb9:\"+content + \"  \u4f5c\u6210\u65e5:\" + created);\n            }\n        }\n        finally{\n            if( cursor != null ){\n                cursor.close();\n            }\n        }\n        return map;\n    }\n\n<\/pre>\n<h3>\u66f4\u65b0<\/h3>\n<pre class=\"lang:default decode:true \" title=\"\u66f4\u65b0\">        \n        \n    \/** \u30e1\u30e2\u3092\u66f4\u65b0 *\/\n    public int updateContentById( String memoId, String content ){\n        String[] selectArgs = new String[]{ memoId };\n        ContentValues val = new ContentValues();\n        val.put(\"content\", content);\n\n        return mDb.update( \"memo\",\n                val,\n                \"_id = ?\",\n                selectArgs);\n    }\n\n<\/pre>\n<h3>\u524a\u9664<\/h3>\n<pre class=\"lang:default decode:true \" title=\"\u524a\u9664\">\n       \n    \/** \u30e1\u30e2\u306e\u5185\u5bb9\u3092\u6761\u4ef6\u306b\u524a\u9664 *\/\n    public int delById( String id ){\n        String[] selectArgs = new String[]{ id };\n        return mDb.delete( \"memo\",\n                \"_id = ?\",\n                selectArgs);\n    }\n\n    \/** \u5168\u524a\u9664 *\/\n    public int delAll(){\n        return mDb.delete( \"memo\", null, null );\n    }\n \n<\/pre>\n<h2>\u30c7\u30fc\u30bf\u30a2\u30af\u30bb\u30b9<\/h2>\n<p>\u305d\u308c\u3067\u306f\u3001\u3053\u308c\u307e\u3067\u5b9a\u7fa9\u3057\u3066\u304d\u305f\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u30e1\u30bd\u30c3\u30c9\u3092\u5b9f\u969b\u306b\u547c\u3073\u51fa\u3057\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u64cd\u4f5c\u3057\u307e\u3059<\/p>\n<pre class=\"lang:java decode:true \" >\n\n        ArrayList<HashMap<String, Object>> memoLists;\n        MemoDao dao = new MemoDao(getApplicationContext());\n        dao.connection();\n\n        \/\/ \u5168\u3066\u306e\u30c7\u30fc\u30bf\u306e\u8aad\u307f\u8fbc\u307f\n        memoLists = dao.searchAll();\n        \n        \/\/ \u30e1\u30e2\u5185\u5bb9\u304b\u3089\u691c\u7d22\n        memoLists = dao.searchAllByWord(searchWord);\n\n        \/\/ \u30e1\u30e2\u5185\u5bb9\u3092\u8ffd\u52a0\n        memoDao.addMemo(content));\n\n        \/\/ \u30e1\u30e2\u30c7\u30fc\u30bf\u66f4\u65b0\n        memoDao.updateContentById(memoId, content);\n\n        \/\/ \u30e1\u30e2ID\u304b\u3089\u30e1\u30e2\u3092\u524a\u9664\n        memoDao.delById(memoId);\n        \n        dao.close();\n\n<\/pre>\n<p>\u4ee5\u4e0a\u3001Android\u306b\u304a\u3051\u308b\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u4f7f\u3044\u65b9\u3067\u3057\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6982\u8981 Android\u306f\u3001SQLite\u3068\u3044\u3046\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002 \u6a5f\u80fd\u9762\u3068\u3057\u3066\u3001\u691c\u7d22\u3001\u633f&#8230;<\/p>\n","protected":false},"author":1,"featured_media":244,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[7],"class_list":["post-57","post","type-post","status-publish","format-standard","has-post-thumbnail","category-android","tag-android","article cf"],"_links":{"self":[{"href":"https:\/\/www.hundredapps.net\/index.php?rest_route=\/wp\/v2\/posts\/57","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hundredapps.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hundredapps.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hundredapps.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hundredapps.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=57"}],"version-history":[{"count":3,"href":"https:\/\/www.hundredapps.net\/index.php?rest_route=\/wp\/v2\/posts\/57\/revisions"}],"predecessor-version":[{"id":246,"href":"https:\/\/www.hundredapps.net\/index.php?rest_route=\/wp\/v2\/posts\/57\/revisions\/246"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hundredapps.net\/index.php?rest_route=\/wp\/v2\/media\/244"}],"wp:attachment":[{"href":"https:\/\/www.hundredapps.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=57"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hundredapps.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=57"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hundredapps.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=57"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}