{"id":6453,"date":"2014-01-11T22:32:33","date_gmt":"2014-01-11T14:32:33","guid":{"rendered":"http:\/\/mynotes.org\/tech\/?p=6453"},"modified":"2014-04-28T10:40:31","modified_gmt":"2014-04-28T02:40:31","slug":"android-app%e7%9a%84%e6%8e%a8%e6%92%ad%e8%a8%8a%e6%81%afpush-notification-parse-com","status":"publish","type":"post","link":"https:\/\/mynotes.org\/tech\/2014\/01\/11\/6453.htm","title":{"rendered":"Android APP\u7684\u63a8\u64ad\u8a0a\u606fPush Notification &#8211; Parse.com"},"content":{"rendered":"<p>\u63a8\u85a6\u4e00\u500b\u65b9\u4fbf\u597d\u7528\u7684Android APP\u63a8\u64ad\u8a0a\u606f\u5de5\u5177\u7db2\u7ad9<a href=\"http:\/\/parse.com\" target=\"_blank\">Parse.com<\/a>\uff0c\u8a2d\u5b9a\u7c21\u55ae\uff0c<a href=\"https:\/\/www.parse.com\/plans\">\u6bcf\u500b\u6708\u53ef\u4ee5\u514d\u8cbb\u767c\u9001\u4e00\u767e\u842c\u500b\u8a0a\u606f<\/a>\uff0c\u9019\u5be6\u5728\u662f\u6211\u5011\u9019\u7a2e\u4e0d\u6703\u5bebJAVA\u7684\u4eba\u7684\u798f\u97f3\u554a\uff01<\/p>\n<p><!--more--><\/p>\n<p>\u8a2d\u5b9a\u6b65\u9a5f\u5982\u4e0b\uff1a<br \/>\n1.\u5230<a href=\"http:\/\/parse.com\" target=\"_blank\">Parse.com<\/a>\u7533\u8acb\u4e00\u500b\u5e33\u865f\uff1b<br \/>\n2.\u767b\u5165\u4e4b\u5f8c\u61c9\u8a72\u662f\u5728Dashboard\u7684\u756b\u9762\uff0c\u53f3\u4e0a\u65b9\u6703\u6709\u500b\u300c+ Create New App\u300d\u7684\u85cd\u8272\u6309\u9215\uff0c\u53ef\u4ee5\u5efa\u7acb\u4e00\u500b\u61c9\u7528\u7a0b\u5f0fAPP\u7684\u5e33\u865f\uff1b<br \/>\n3.\u8f38\u5165\u5b8c\u4e4b\u5f8c\u756b\u9762\u5c31\u6703\u8df3\u51fa\u5f88\u591aApp keys\uff0c\u8acb\u628a\u5176\u4e2dApplication ID\u548cClient Key\u8a18\u4e0b\u4f86\uff1b<br \/>\n4.\u5982\u679c\u6c92\u6709\u770b\u5230\u4e0a\u9762\u90a3\u500b\u756b\u9762\u6216\u662f\u5fd8\u4e86\u8a18\u4e0b\u4f86\u4e8b\u5f8c\u8981\u627e\uff0c\u53ef\u4ee5\u5728Dashboard\u756b\u9762\u5de6\u4e0a\u65b9\u9ede\u9078app\u7684\u540d\u7a31\uff0c\u5728\u53f3\u5074\u9ede\u9078settings\uff0c\u7136\u5f8c\u5728\u5de6\u5074\u9ede\u9078Application keys\u5c31\u53ef\u4ee5\u770b\u5230\uff1b<br \/>\n<a href=\"http:\/\/mynotes.org\/tech\/wp-content\/uploads\/2014\/01\/cfig1.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/mynotes.org\/tech\/wp-content\/uploads\/2014\/01\/cfig1-1024x315.png\" alt=\"keys\" width=\"584\" height=\"179\" class=\"aligncenter size-large wp-image-6454\" \/><\/a><br \/>\n5.\u7167\u8457<a href=\"https:\/\/www.parse.com\/tutorials\/android-push-notifications\" target=\"_blank\">\u5b98\u65b9\u6587\u4ef6<\/a>\u7684\u6d41\u7a0b\u9032\u884c\u8a2d\u5b9a\uff1b<br \/>\n6.\u6309\u6a58\u8272\u6309\u9215\uff08.zip File\uff09\u4e0b\u8f09\u7a0b\u5f0f\u58d3\u7e2e\u6a94\u6848\uff0c\u89e3\u58d3\u7e2e\u5f8c\u5c07Parse-x.x.x.jar\u8907\u88fd\u5230libs\u8cc7\u6599\u593e\u5167\uff0c\u8a18\u5f97\u8981\u5728eclipse\u4e2dbuild path\uff1b<br \/>\n6-1.\u5728AndroidManifest.xml\u6a94\u7684<\/application>\u6a19\u7c64\u524d\u9762\u52a0\u5165\u4e0b\u5217\u6587\u5b57\uff1a<\/p>\n<pre class=\"brush: java; title: ; notranslate\" title=\"\">\r\n&lt;service android:name=&quot;com.parse.PushService&quot; \/&gt;\r\n&lt;receiver android:name=&quot;com.parse.ParseBroadcastReceiver&quot;&gt;\r\n  &lt;intent-filter&gt;\r\n    &lt;action android:name=&quot;android.intent.action.BOOT_COMPLETED&quot; \/&gt;\r\n    &lt;action android:name=&quot;android.intent.action.USER_PRESENT&quot; \/&gt;\r\n  &lt;\/intent-filter&gt;\r\n&lt;\/receiver&gt;\r\n<\/pre>\n<p>6-2.\u5728AndroidManifest.xml\u6a94\u7684<application>\u6a19\u7c64\u524d\u9762\u52a0\u5165\u4e0b\u5217\u6587\u5b57\uff1a<\/p>\n<pre class=\"brush: java; title: ; notranslate\" title=\"\">\r\n&lt;uses-permission android:name=&quot;android.permission.INTERNET&quot; \/&gt;\r\n&lt;uses-permission android:name=&quot;android.permission.ACCESS_NETWORK_STATE&quot; \/&gt;\r\n&lt;uses-permission android:name=&quot;android.permission.RECEIVE_BOOT_COMPLETED&quot; \/&gt;\r\n&lt;uses-permission android:name=&quot;android.permission.VIBRATE&quot; \/&gt;\r\n<\/pre>\n<p>6-3.\u5728\u4f60\u7684\u4e3b\u8981java\u7a0b\u5f0f\uff08\u53ef\u80fd\u662fMainActivity.java\uff09\u4e2d\u7684 onCreate\u4e4b\u4e0b\u52a0\u5165\u4e0b\u9762\u9019\u4e00\u884c\uff1a<\/p>\n<pre class=\"brush: java; title: ; notranslate\" title=\"\">\r\nParse.initialize(this, &quot;YOUR_APP_ID&quot;, &quot;YOUR_CLIENT_KEY&quot;);\r\n<\/pre>\n<p>\u9019\u88e1\u7684YOUR_APP_ID\u548cYOUR_CLIENT_KEY\u8acb\u63db\u6210\u6b65\u9a5f3\u6216\u6b65\u9a5f4\u6240\u6284\u4e0b\u7684\u4ee3\u78bc\u3002<\/p>\n<p>6-4.\u5728\u4f60\u7684\u4e3b\u8981java\u7a0b\u5f0f\uff08\u53ef\u80fd\u662fMainActivity.java\uff09\u4e2d\u7684 onCreate\u4e4b\u4e0b\u52a0\u5165\u4e0b\u9762\u9019\u4e09\u884c\uff1a<\/p>\n<pre class=\"brush: java; title: ; notranslate\" title=\"\">\r\nPushService.setDefaultPushCallback(this, YourDefaultActivity.class);\r\nParseInstallation.getCurrentInstallation().saveInBackground();\r\nParseAnalytics.trackAppOpened(getIntent());\r\n<\/pre>\n<p>\u7b2c1\u884c\u7684YourDefaultActivity\u8981\u6539\u6210\u4f60\u7684\u4e3b\u8981java\u7a0b\u5f0f\u6a94\u540d\uff08\u53ef\u80fd\u662fMainActivity.java\uff09\u3002<br \/>\n\u4e0d\u904e\u6211\u5728\u7de8\u8b6f\u7684\u904e\u7a0b\u4e2d\uff0c\u4e0a\u9762\u7b2c2\u884c\u6703\u51fa\u932f\uff0c\u6240\u4ee5\u6211\u53ea\u8f38\u5165\u4e86\u7b2c1\u30013\u884c\u7684\u5167\u5bb9\u3002<\/p>\n<p><strong>2014.01.18\u66f4\u65b0\uff1a\u57286-5\u7684\u6b65\u9a5f\u4e2d\u52a0\u5165\u4e00\u884cimport com.parse.ParseInstallation;\u53ef\u4ee5\u89e3\u6c7a\u4e0a\u9762\u7684\u554f\u984c\uff0c\u4f46\u6211\u4e0d\u77e5\u9053\u70ba\u4ec0\u9ebc\u5b98\u65b9\u8aaa\u660e\u6587\u4ef6\u6c92\u6709\u5217\uff1f<br \/>\n<\/strong><\/p>\n<p>6-5.\u5728\u4f60\u7684\u4e3b\u8981java\u7a0b\u5f0f\uff08\u53ef\u80fd\u662fMainActivity.java\uff09\u4e2d\u7684\u958b\u982d\u8f38\u5165\u4e0b\u9762\u4e09\u884c\uff1a<\/p>\n<pre class=\"brush: java; title: ; notranslate\" title=\"\">\r\nimport com.parse.Parse;\r\nimport com.parse.ParseAnalytics;\r\nimport com.parse.PushService;\r\n<\/pre>\n<p>7.\u7136\u5f8c\u5c31\u53ef\u4ee5\u53bbPush Notification\u767c\u8a0a\u606f\u4e86\uff01<br \/>\n<a href=\"http:\/\/mynotes.org\/tech\/wp-content\/uploads\/2014\/01\/cfig2.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/mynotes.org\/tech\/wp-content\/uploads\/2014\/01\/cfig2-1024x159.png\" alt=\"parse.com\" width=\"584\" height=\"90\" class=\"aligncenter size-large wp-image-6455\" \/><\/a><\/p>\n<p><strong>2014.01.22\u66f4\u65b0<\/strong><br \/>\n\u4f9d\u7167\u524d\u9762\u7684\u6b65\u9a5f\u9032\u884c\u5230\u9019\u88e1\uff0c\u5728Parse.com\u50b3\u9001\u63a8\u64ad\u8a0a\u606f\u6642\uff0c\u884c\u52d5\u88dd\u7f6e\u5df2\u7d93\u53ef\u4ee5\u63a5\u6536\u5230\u8a0a\u606f\u3002\u4f46\u662f\u76ee\u524d\u4ecd\u6709\u5169\u500b\u554f\u984c\uff1a<br \/>\n1.\u61c9\u7528\u7a0b\u5f0f\u5982\u679c\u6c92\u6709\u958b\u555f\uff0c\u6703\u6536\u4e0d\u5230\u8a0a\u606f\uff1b<br \/>\n2.\u6309\u4e0b\u8a0a\u606f\u4e4b\u5f8c\u6703\u958b\u555f\u61c9\u7528\u7a0b\u5f0f\u756b\u9762\uff0c\u4f46\u7121\u6cd5\u770b\u5230\u5b8c\u6574\u8a0a\u606f\u3002<\/p>\n<p>\u5f8c\u7e8c\u8abf\u6574\u5982\u4e0b\uff1a<\/p>\n<p><!--nextpage--><\/p>\n<p>\u89e3\u6c7a\u61c9\u7528\u7a0b\u5f0f\u5982\u679c\u6c92\u6709\u958b\u555f\uff0c\u6703\u6536\u4e0d\u5230\u8a0a\u606f\u7684\u554f\u984c\uff1a<\/p>\n<p>8.\u5efa\u7acb\u4e00\u500bMainApplication.java\u6a94\uff0c\u8ddf\u4f60\u7684\u4e3b\u8981java\u7a0b\u5f0f\uff08\u53ef\u80fd\u662fMainActivity.java\uff09\u5728\u540c\u4e00\u500b\u76ee\u9304\uff0c\u5167\u5bb9\u5982\u4e0b\uff1a<\/p>\n<pre class=\"brush: java; title: ; notranslate\" title=\"\">\r\npackage com.example.testunzip;\r\n\r\nimport android.app.Application;\r\nimport com.parse.Parse;\r\nimport com.parse.PushService;\r\nimport com.parse.ParseInstallation;\r\n\r\npublic class MainApplication extends Application {\r\n\r\n\t@Override\r\n\tpublic void onCreate() {\r\n        Parse.initialize(this, &quot;YOUR_APP_ID&quot;, &quot;YOUR_CLIENT_KEY&quot;);\r\n        PushService.setDefaultPushCallback(this, MainActivity.class);\r\n        ParseInstallation.getCurrentInstallation().saveInBackground();\r\n\t}\r\n\r\n}\r\n<\/pre>\n<p>9.\u5728AndroidManifest.xml\u6a94\u7684<application>\u6a19\u7c64\u5167\u52a0\u5165android:name=&#8221;com.example.testunzip.MainApplication&#8221;\uff0c\u7d50\u679c\u61c9\u8a72\u50cf\u662f\uff1a<\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n    &lt;application\r\n        android:allowBackup=&quot;true&quot;\r\n        android:icon=&quot;@drawable\/ic_launcher&quot;\r\n        android:label=&quot;@string\/app_name&quot;\r\n        android:theme=&quot;@style\/AppTheme&quot; \r\n        android:name=&quot;com.example.testunzip.MainApplication&quot;&gt;\r\n<\/pre>\n<p>10.\u524d\u9762\u6b65\u9a5f6-3\u30016-4\u30016-5\u5beb\u5728\u4e3b\u8981java\u7a0b\u5f0f\uff08\u53ef\u80fd\u662fMainActivity.java\uff09\u4e2d\u7684\u5167\u5bb9\uff0c\u548c\u6b65\u9a5f8\u6709\u91cd\u8907\u7684\u90e8\u5206\u90fd\u53ef\u4ee5\u522a\u6389\u3002<\/p>\n<p>\u5230\u76ee\u524d\u70ba\u6b62\uff0c\u5df2\u7d93\u53ef\u4ee5\u5728\u61c9\u7528\u7a0b\u5f0fAPP\u95dc\u9589\u7684\u72c0\u6cc1\u4e0b\uff0c\u5f9eparse.com\u767c\u8a0a\u606f\u4f7f\u7528\u8005\u4e5f\u53ef\u4ee5\u6536\u5230\u3002<\/p>\n<p>\u73fe\u5728\u662f\u6700\u5f8c\u4e00\u500b\u968e\u6bb5\uff0c\u628a\u8a0a\u606f\u5b8c\u6574\u5730\u986f\u793a\u51fa\u4f86\u3002<\/p>\n<p><!--nextpage--><\/p>\n<p>\u89e3\u6c7a\u63a8\u64ad\u8a0a\u606f\u7121\u6cd5\u5b8c\u6574\u986f\u793a\u51fa\u4f86\u7684\u554f\u984c<\/p>\n<p>11.\u524d\u9762\u6b65\u9a5f8\u4e2d\u7684PushService.setDefaultPushCallback(this, <strong>MainActivity.class<\/strong>);\u9019\u4e00\u884c\uff0c\u6703\u5728\u4f7f\u7528\u8005\u9ede\u9078\u6536\u5230\u7684\u8a0a\u606f\u6642\u6240\u57f7\u884c\u7684\u9801\u9762\uff0c\u73fe\u5728\u6211\u8981\u65b0\u8a2d\u4e00\u500b\u9801\u9762\u4f86\u986f\u793a\u9019\u500b\u8a0a\u606f\u3002\u5047\u8a2d\u6211\u8981\u65b0\u589e\u7684\u9801\u9762\u6a94\u540d\u662fMessageActivity.class\uff0c\u90a3\u5c31\u8acb\u7528\u9019\u500b\u6a94\u540d\u53d6\u4ee3\u525b\u525b\u7684MainActivity.class\u3002<\/p>\n<p>12.\u6211\u7684MessageActivity.class\u5176\u5be6\u5c31\u662f\u8907\u88fdMainActivity.class\u7684\u5167\u5bb9\uff0c\u7136\u5f8c\u628a\u958b\u555f\u7a0b\u5f0f\u756b\u9762\u522a\u6389\uff0c\u4e26\u5c0e\u5f15\u5230\u53e6\u4e00\u500bHTML\u6a94\uff08\u5047\u8a2d\u662fmessage.html\uff09\uff0c\u8acb\u628a\u9019\u500b\u6a94\u653e\u5728MainActivity.class\u6a94\u7684\u540c\u4e00\u500b\u76ee\u9304\u4e0b\u3002<\/p>\n<p>13.\u5728AndroidManifest.xml\u6a94\u52a0\u5165\u4e00\u884c\uff1a<\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&lt;activity android:name=&quot;your.package.name.MessageActivity&quot;&gt;&lt;\/activity&gt;\r\n<\/pre>\n<p>\u5176\u4e2dyour.package.name\u8acb\u6539\u6210\u4f60\u81ea\u5df1\u7684\u7a0b\u5f0f\u540d\u7a31\u3002<\/p>\n<p>14.\u4e0b\u8f09<a href=\"https:\/\/github.com\/acen99\/WebIntent\">WebIntent<\/a>\u6a94\u6848\uff08\u6216\u662f\u5f9e<a href=\"https:\/\/build.phonegap.com\/plugins\">PhoneGap\u76843rd Party API\u7db2\u9801<\/a>\u627e\uff0c<a href=\"http:\/\/mynotes.org\/tech\/wp-content\/uploads\/2014\/01\/WebIntent-50849a413d9970c21bbb78c389df6651f9cfe858.zip\">WebIntent\u5099\u4efd<\/a>\uff09\uff0c\u628aWebIntent.java\u8907\u88fd\u5230src\/com\/borismus\/webintent\u7684\u76ee\u9304\u4e0b\uff0c\u628awebintent.js\u8907\u88fd\u5230assets\/www\u7684\u76ee\u9304\u4e0b\u3002<\/p>\n<p>15.\u5728res\/xml\u76ee\u9304\u4e0b\u7684config.xml\u6a94\u52a0\u5165\u4e00\u884c\uff1a<\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&lt;plugin name=&quot;WebIntent&quot; value=&quot;com.borismus.webintent.WebIntent&quot; \/&gt;\r\n<\/pre>\n<p>16.\u6839\u64da\u6b65\u9a5f12\uff0c\u65b0\u589e\u4e00\u500bHTML\u6a94\uff0c\u5167\u5bb9\u5982\u4e0b\uff1a<\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&lt;!DOCTYPE html&gt;\r\n&lt;html&gt;\r\n&lt;head&gt;\r\n&lt;script src=&quot;cordova-2.3.0.js&quot;&gt;&lt;\/script&gt;\r\n&lt;script src=&quot;webintent.js&quot;&gt;&lt;\/script&gt;\r\n&lt;script&gt;\r\nfunction init() {\r\n\tdocument.addEventListener(&quot;deviceready&quot;,deviceReady,false);\r\n}\r\n \r\nfunction deviceReady() {\r\n\tconsole.log(&quot;Device Ready&quot;);\r\n \r\n        window.plugins.webintent.getExtra(&quot;com.parse.Data&quot;, \r\n            function(d) {\r\n                          var parsed = JSON.parse(d);\r\n                          document.getElementById(&quot;test&quot;).innerHTML=parsed.alert;\r\n            }, function() {\r\n               \/\/ There was no extra supplied.\r\n            }\r\n         );\r\n\r\n\t\r\n}\r\n&lt;\/script&gt;\r\n \r\n&lt;\/head&gt;\r\n&lt;body onload=&quot;init()&quot;&gt;\r\n \r\n&lt;h1&gt;Your Message&lt;\/h1&gt;\r\n \r\n&lt;div id=&quot;test&quot;&gt;&lt;\/div&gt;\r\n \r\n&lt;\/body&gt;\r\n&lt;\/html&gt;\r\n<\/pre>\n<p>\u53c3\u8003\u7db2\u7ad9\uff1a<br \/>\n<a href=\"http:\/\/www.raymondcamden.com\/index.cfm\/2012\/5\/1\/Example-of-Intents-with-PhoneGap\">http:\/\/www.raymondcamden.com\/index.cfm\/2012\/5\/1\/Example-of-Intents-with-PhoneGap<\/a><br \/>\n<a href=\"http:\/\/www.raymondcamden.com\/index.cfm\/2012\/10\/10\/PhoneGap-Parsecom-and-Push-Notifications\">http:\/\/www.raymondcamden.com\/index.cfm\/2012\/10\/10\/PhoneGap-Parsecom-and-Push-Notifications<\/a><br \/>\n<a href=\"http:\/\/rjb.soc.port.ac.uk\/talks\/js\/json\/\">http:\/\/rjb.soc.port.ac.uk\/talks\/js\/json\/<\/a><\/p>\n<p>17.\u5230parse.com\u7684\u7db2\u7ad9\uff0c\u767c\u9001\u8a0a\u606f\u5373\u53ef\u3002<\/p>\n<p>18.\u4ee5\u7c21\u6613\u65b9\u5f0f\u767c\u9001\u51fa\u4f86\u7684\u63a8\u64ad\u8a0a\u606f\u548c\u4ee5\u4ee5JSON\u683c\u5f0f\u767c\u9001\u51fa\u4f86\u7684\u63a8\u64ad\u8a0a\u606f{&#8220;alert&#8221;: &#8220;your message&#8221;}\u76f8\u540c\uff0c\u4e0a\u9762\u7684\u7a0b\u5f0f\u78bc\u662f\u6293\u51faalert\u9019\u500b\u6b04\u4f4d\u7684\u8a0a\u606f\u3002\u5982\u679c\u4f60\u4ee5JSON\u683c\u5f0f\u767c\u9001\u5176\u4ed6\u6b04\u4f4d\u7684\u8a0a\u606f\uff08\u4f8b\u5982\uff1a{ &#8220;alert&#8221;: &#8220;your message&#8221;, &#8220;add1&#8221;: &#8220;test.txt&#8221; }\uff09\uff0c\u53ef\u4ee5\u5c07\u6b65\u9a5f16\u7684\u7a0b\u5f0f\u78bc\u7b2c17\u884c\uff1a<br \/>\n                          document.getElementById(&#8220;test&#8221;).innerHTML=parsed.alert;<br \/>\n\u64f4\u5145<br \/>\n                          document.getElementById(&#8220;test1&#8221;).innerHTML=parsed.add1;<br \/>\n\u7136\u5f8c\u5728\u7b2c32\u884c\u7684\u5730\u65b9\u589e\u52a0id=test1\u7684div\u6a19\u7c64\u3002<\/p>\n<p>19.\u628a\u6587\u5b57\u585e\u5230\u7db2\u9801\u88e1\u9762\u7684Javascript\u8a9e\u6cd5\u6642\u5e38\u7528\u5230\uff0c\u9019\u500b\u7db2\u7ad9\uff08<a href=\"http:\/\/www.wibibi.com\/info.php?tid=400\">Wibibi\u7db2\u9801\u8a2d\u8a08\u6559\u5b78\u767e\u79d1<\/a>\uff09\u7684\u7bc4\u4f8b\u5f88\u8a73\u7d30\uff0c\u7559\u500b\u7b46\u8a18\u3002<\/p>\n<p>\u5927\u529f\u544a\u6210\uff01\uff01\uff01<\/p>\n<p>\u4e3b\u8981\u53c3\u8003\u8aaa\u660e\u7684\u7db2\u7ad9\uff1a<a href=\"http:\/\/www.raymondcamden.com\/index.cfm\/2012\/10\/10\/PhoneGap-Parsecom-and-Push-Notifications\">http:\/\/www.raymondcamden.com\/index.cfm\/2012\/10\/10\/PhoneGap-Parsecom-and-Push-Notifications<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u63a8\u85a6\u4e00\u500b\u65b9\u4fbf\u597d\u7528\u7684Android APP\u63a8\u64ad\u8a0a\u606f\u5de5\u5177\u7db2\u7ad9Parse.com\uff0c\u8a2d\u5b9a\u7c21\u55ae\uff0c\u6bcf\u500b\u6708\u53ef\u4ee5\u514d\u8cbb\u767c\u9001\u4e00\u767e\u842c [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","_links_to":"","_links_to_target":""},"categories":[126,131],"tags":[103,88,102,113],"class_list":["post-6453","post","type-post","status-publish","format-standard","hentry","category-android","category-app-android","tag-android0","tag-app","tag-eclipse","tag-push-notification"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/mynotes.org\/tech\/wp-json\/wp\/v2\/posts\/6453","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mynotes.org\/tech\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mynotes.org\/tech\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mynotes.org\/tech\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mynotes.org\/tech\/wp-json\/wp\/v2\/comments?post=6453"}],"version-history":[{"count":10,"href":"https:\/\/mynotes.org\/tech\/wp-json\/wp\/v2\/posts\/6453\/revisions"}],"predecessor-version":[{"id":6481,"href":"https:\/\/mynotes.org\/tech\/wp-json\/wp\/v2\/posts\/6453\/revisions\/6481"}],"wp:attachment":[{"href":"https:\/\/mynotes.org\/tech\/wp-json\/wp\/v2\/media?parent=6453"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mynotes.org\/tech\/wp-json\/wp\/v2\/categories?post=6453"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mynotes.org\/tech\/wp-json\/wp\/v2\/tags?post=6453"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}