{"id":2147,"date":"2025-05-12T06:00:07","date_gmt":"2025-05-11T22:00:07","guid":{"rendered":"https:\/\/www.wunen.com\/index.php\/2025\/05\/12\/android-%e5%a3%81%e7%ba%b8%e5%ba%94%e7%94%a8%e4%b9%8b%e5%8a%a8%e6%80%81%e5%a3%81%e7%ba%b8\/"},"modified":"2025-05-12T06:00:07","modified_gmt":"2025-05-11T22:00:07","slug":"android-%e5%a3%81%e7%ba%b8%e5%ba%94%e7%94%a8%e4%b9%8b%e5%8a%a8%e6%80%81%e5%a3%81%e7%ba%b8","status":"publish","type":"post","link":"http:\/\/www.wunen.com\/index.php\/2025\/05\/12\/android-%e5%a3%81%e7%ba%b8%e5%ba%94%e7%94%a8%e4%b9%8b%e5%8a%a8%e6%80%81%e5%a3%81%e7%ba%b8\/","title":{"rendered":"Android \u58c1\u7eb8\u5e94\u7528\u4e4b\u52a8\u6001\u58c1\u7eb8"},"content":{"rendered":"<div class=\"article_content clearfix\" id=\"article_content\">\n <link href=\"https:\/\/csdnimg.cn\/release\/blogv2\/dist\/mdeditor\/css\/editerView\/kdoc_html_views-1a98987dfd.css\" rel=\"stylesheet\"\/>\n <link href=\"https:\/\/csdnimg.cn\/release\/blogv2\/dist\/mdeditor\/css\/editerView\/ck_htmledit_views-704d5b9767.css\" rel=\"stylesheet\"\/>\n<div class=\"markdown_views prism-atom-one-dark\" id=\"content_views\">\n  <svg style=\"display: none;\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n   <path d=\"M5,0 0,2.5 5,5z\" id=\"raphael-marker-block\" stroke-linecap=\"round\" style=\"-webkit-tap-highlight-color: rgba(0, 0, 0, 0);\">\n   <\/path>\n  <\/svg><\/p>\n<p>\n   \u6548\u679c\u56fe\uff0c\u56fe\u4e2d\u684c\u9762\u80cc\u666f\u4e3a\u4e00\u6bb5\u89c6\u9891<br \/>\n   \n  <\/p>\n<pre class=\"prettyprint\"><code class=\"hljs xml\"><span class=\"hljs-pi\">&lt;?xml version=\"1.0\" encoding=\"utf-8\"?&gt;<\/span>\n<span class=\"hljs-tag\">&lt;<span class=\"hljs-title\">wallpaper<\/span> <span class=\"hljs-attribute\">xmlns:android<\/span>=<span class=\"hljs-value\">\"http:\/\/schemas.android.com\/apk\/res\/android\"<\/span>\n    <span class=\"hljs-attribute\">android:thumbnail<\/span>=<span class=\"hljs-value\">\"@mipmap\/ic_launcher\"<\/span>\n    <span class=\"hljs-attribute\">android:description<\/span>=<span class=\"hljs-value\">\"@string\/wallpager\"<\/span>\n    &gt;<\/span>\n\n<span class=\"hljs-tag\">&lt;\/<span class=\"hljs-title\">wallpaper<\/span>&gt;<\/span><\/code><\/pre>\n<\/p>\n<p>\n   \u64ad\u653e\u89c6\u9891\u7684\u8bdd\u9700\u8981\u4e00\u4e2aService\uff0c\u8fd9\u91cc\u7684\u7528\u5230\u4e00\u4e2aWallpaperService\uff0c\u9700\u8981\u6211\u4eec\u53bb\u7ee7\u627f\u3002\n  <\/p>\n<pre class=\"prettyprint\"><code class=\"hljs java\"><span class=\"hljs-keyword\">public<\/span> <span class=\"hljs-class\"><span class=\"hljs-keyword\">class<\/span> <span class=\"hljs-title\">VideoLiveWallpaper<\/span> <span class=\"hljs-keyword\">extends<\/span> <span class=\"hljs-title\">WallpaperService<\/span> {<!-- --><\/span>\n\n    <span class=\"hljs-annotation\">@Override<\/span>\n    <span class=\"hljs-keyword\">public<\/span> Engine <span class=\"hljs-title\">onCreateEngine<\/span>() {\n        <span class=\"hljs-keyword\">return<\/span> <span class=\"hljs-keyword\">new<\/span> VideoEngine();\n    }\n}<\/code><\/pre>\n<p>\n   VideoEngine\u7c7b\u4e3a\u5185\u90e8\u7c7b\uff0c\u7ee7\u627f\u81eaEngine\u7c7b\u3002\u5728Engine\u7c7b\u4e2d\uff0c\u6709\u5404\u79cdSurfaceView\u7684\u76d1\u542c\u65b9\u6cd5\uff0c\u63a5\u4e0b\u6765\u5c31\u662f\u6b63\u5e38\u7684\u89c6\u9891\u64ad\u653e\u8fc7\u7a0b\u4e86\n  <\/p>\n<pre class=\"prettyprint\"><code class=\"hljs axapta\"><span class=\"hljs-class\"><span class=\"hljs-keyword\">class<\/span> <span class=\"hljs-title\">VideoEngine<\/span> <span class=\"hljs-inheritance\"><span class=\"hljs-keyword\">extends<\/span><\/span> <span class=\"hljs-title\">Engine<\/span> {<!-- --><\/span>\n\n        <span class=\"hljs-keyword\">private<\/span> MediaPlayer mMediaPlayer;\n\n        @Override\n        <span class=\"hljs-keyword\">public<\/span> <span class=\"hljs-keyword\">void<\/span> onSurfaceCreated(SurfaceHolder holder) {\n            Log.d(<span class=\"hljs-string\">\"VideoEngine\"<\/span>, <span class=\"hljs-string\">\"onSurfaceCreated \"<\/span>);\n            <span class=\"hljs-keyword\">super<\/span>.onSurfaceCreated(holder);\n            mMediaPlayer = <span class=\"hljs-keyword\">new<\/span> MediaPlayer();\n            mMediaPlayer.setSurface(holder.getSurface());\n            <span class=\"hljs-keyword\">try<\/span> {\n                AssetManager assetMg = getApplicationContext().getAssets();\n                AssetFileDescriptor fileDescriptor = assetMg.openFd(<span class=\"hljs-string\">\"welcome.mp4\"<\/span>);\n                mMediaPlayer.setDataSource(fileDescriptor.getFileDescriptor(),\n                        fileDescriptor.getStartOffset(), fileDescriptor.getLength());\n                mMediaPlayer.setLooping(<span class=\"hljs-keyword\">true<\/span>);\n                mMediaPlayer.setVolume(<span class=\"hljs-number\">0<\/span>, <span class=\"hljs-number\">0<\/span>);\n                mMediaPlayer.prepare();\n                mMediaPlayer.start();\n\n            } <span class=\"hljs-keyword\">catch<\/span> (IOException e) {\n                e.printStackTrace();\n            }\n\n        }\n\n        @Override\n        <span class=\"hljs-keyword\">public<\/span> <span class=\"hljs-keyword\">void<\/span> onVisibilityChanged(<span class=\"hljs-keyword\">boolean<\/span> visible) {\n            Log.d(<span class=\"hljs-string\">\"VideoEngine\"<\/span>, <span class=\"hljs-string\">\"onVisibilityChanged visible = \"<\/span> + visible);\n            <span class=\"hljs-keyword\">if<\/span> (visible) {\n                mMediaPlayer.start();\n            } <span class=\"hljs-keyword\">else<\/span> {\n                mMediaPlayer.pause();\n            }\n        }\n\n        @Override\n        <span class=\"hljs-keyword\">public<\/span> <span class=\"hljs-keyword\">void<\/span> onSurfaceDestroyed(SurfaceHolder holder) {\n            Log.d(<span class=\"hljs-string\">\"VideoEngine\"<\/span>, <span class=\"hljs-string\">\"onSurfaceDestroyed \"<\/span>);\n            <span class=\"hljs-keyword\">super<\/span>.onSurfaceDestroyed(holder);\n            mMediaPlayer.release();\n            mMediaPlayer = <span class=\"hljs-keyword\">null<\/span>;\n        }\n    }<\/code><\/pre>\n<p>\n   \u8fd9\u6837\u89c6\u9891\u64ad\u653e\u7684\u58c1\u7eb8service\u5c31\u7f16\u5199\u8fd8\u4ee3\u7801\u4e86\uff0c\u63a5\u4e0b\u6765\u9700\u8981\u8fdb\u884c\u6e05\u5355\u6587\u4ef6\u6ce8\u518c\n  <\/p>\n<pre class=\"prettyprint\"><code class=\"hljs xml\"><span class=\"hljs-tag\">&lt;<span class=\"hljs-title\">service\n<\/span>            <span class=\"hljs-attribute\">android:name<\/span>=<span class=\"hljs-value\">\".VideoLiveWallpaper\"<\/span>\n            <span class=\"hljs-attribute\">android:permission<\/span>=<span class=\"hljs-value\">\"android.permission.BIND_WALLPAPER\"<\/span>\n            <span class=\"hljs-attribute\">android:process<\/span>=<span class=\"hljs-value\">\":wallpaper\"<\/span>&gt;<\/span>\n            <span class=\"hljs-comment\">&lt;!-- \u914d\u7f6eintent-filter --&gt;<\/span>\n            <span class=\"hljs-tag\">&lt;<span class=\"hljs-title\">intent-filter<\/span>&gt;<\/span>\n                <span class=\"hljs-tag\">&lt;<span class=\"hljs-title\">action<\/span> <span class=\"hljs-attribute\">android:name<\/span>=<span class=\"hljs-value\">\"android.service.wallpaper.WallpaperService\"<\/span> \/&gt;<\/span>\n            <span class=\"hljs-tag\">&lt;\/<span class=\"hljs-title\">intent-filter<\/span>&gt;<\/span>\n            <span class=\"hljs-comment\">&lt;!-- \u914d\u7f6emeta-data --&gt;<\/span>\n            <span class=\"hljs-tag\">&lt;<span class=\"hljs-title\">meta-data\n<\/span>                <span class=\"hljs-attribute\">android:name<\/span>=<span class=\"hljs-value\">\"android.service.wallpaper\"<\/span>\n                <span class=\"hljs-attribute\">android:resource<\/span>=<span class=\"hljs-value\">\"@xml\/wallpaper\"<\/span> \/&gt;<\/span>\n        <span class=\"hljs-tag\">&lt;\/<span class=\"hljs-title\">service<\/span>&gt;<\/span><\/code><\/pre>\n<p>\n   \u6211\u4eec\u9700\u8981\u6dfb\u52a0android.permission.BIND_WALLPAPER\u6743\u9650\uff0c\u6dfb\u52a0\u4e00\u4e2a\u4f5c\u4e3a\u58c1\u7eb8\u7684action\uff0c\u6dfb\u52a0\u914d\u7f6e\u6587\u4ef6<br \/>\n   <br \/>\n   \u7136\u540e\u5c31\u662f\u53bb\u542f\u52a8\n  <\/p>\n<pre class=\"prettyprint\"><code class=\"hljs java\"><span class=\"hljs-keyword\">public<\/span> <span class=\"hljs-keyword\">static<\/span> <span class=\"hljs-keyword\">void<\/span> <span class=\"hljs-title\">setToWallPaper<\/span>(Context context) {\n        <span class=\"hljs-comment\">\/\/\u5524\u9192\u8bbe\u7f6e\u58c1\u7eb8\u7684\u754c\u9762<\/span>\n        <span class=\"hljs-keyword\">final<\/span> Intent intent = <span class=\"hljs-keyword\">new<\/span> Intent(WallpaperManager.ACTION_CHANGE_LIVE_WALLPAPER);\n        <span class=\"hljs-comment\">\/\/\u8bbe\u7f6e\u52a8\u6001\u58c1\u7eb8\u670d\u52a1\u7684\u4fe1\u606f<\/span>\n        <span class=\"hljs-comment\">\/\/\u4e0a\u4e0b\u6587\u548c\u670d\u52a1\u7c7b<\/span>\n        intent.putExtra(WallpaperManager.EXTRA_LIVE_WALLPAPER_COMPONENT,\n                <span class=\"hljs-keyword\">new<\/span> ComponentName(context, VideoLiveWallpaper.class));\n        <span class=\"hljs-comment\">\/\/\u542f\u52a8<\/span>\n        context.startActivity(intent);\n    }<\/code><\/pre>\n<p>\n   \u7136\u540e\u5728\u4e3b\u754c\u9762\u4e2d\u53bb\u8c03\u7528\u8fd9\u4e2a\u70b9\u51fb\u4e8b\u4ef6\u65b9\u6cd5\u5c31\u597d\u4e86\n  <\/p>\n<\/p><\/div>\n<link href=\"https:\/\/csdnimg.cn\/release\/blogv2\/dist\/mdeditor\/css\/editerView\/markdown_views-a5d25dd831.css\" rel=\"stylesheet\"\/>\n <link href=\"https:\/\/csdnimg.cn\/release\/blogv2\/dist\/mdeditor\/css\/style-e504d6a974.css\" rel=\"stylesheet\"\/>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u6548\u679c\u56fe\uff0c\u56fe\u4e2d\u684c\u9762\u80cc\u666f\u4e3a\u4e00\u6bb5\u89c6\u9891 &lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;utf-8&#8243; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":215,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-2147","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-8"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Android \u58c1\u7eb8\u5e94\u7528\u4e4b\u52a8\u6001\u58c1\u7eb8 - \u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/www.wunen.com\/index.php\/2025\/05\/12\/android-\u58c1\u7eb8\u5e94\u7528\u4e4b\u52a8\u6001\u58c1\u7eb8\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Android \u58c1\u7eb8\u5e94\u7528\u4e4b\u52a8\u6001\u58c1\u7eb8 - \u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51\" \/>\n<meta property=\"og:description\" content=\"\u6548\u679c\u56fe\uff0c\u56fe\u4e2d\u684c\u9762\u80cc\u666f\u4e3a\u4e00\u6bb5\u89c6\u9891 &lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"http:\/\/www.wunen.com\/index.php\/2025\/05\/12\/android-\u58c1\u7eb8\u5e94\u7528\u4e4b\u52a8\u6001\u58c1\u7eb8\/\" \/>\n<meta property=\"og:site_name\" content=\"\u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51\" \/>\n<meta property=\"article:published_time\" content=\"2025-05-11T22:00:07+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/\u8d44\u8baf.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"260\" \/>\n\t<meta property=\"og:image:height\" content=\"180\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin@wunen\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin@wunen\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"http:\/\/www.wunen.com\/index.php\/2025\/05\/12\/android-%e5%a3%81%e7%ba%b8%e5%ba%94%e7%94%a8%e4%b9%8b%e5%8a%a8%e6%80%81%e5%a3%81%e7%ba%b8\/#article\",\"isPartOf\":{\"@id\":\"http:\/\/www.wunen.com\/index.php\/2025\/05\/12\/android-%e5%a3%81%e7%ba%b8%e5%ba%94%e7%94%a8%e4%b9%8b%e5%8a%a8%e6%80%81%e5%a3%81%e7%ba%b8\/\"},\"author\":{\"name\":\"admin@wunen\",\"@id\":\"http:\/\/www.wunen.com\/#\/schema\/person\/d5f7a6cf545656a9c90d507e64452db8\"},\"headline\":\"Android \u58c1\u7eb8\u5e94\u7528\u4e4b\u52a8\u6001\u58c1\u7eb8\",\"datePublished\":\"2025-05-11T22:00:07+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\/\/www.wunen.com\/index.php\/2025\/05\/12\/android-%e5%a3%81%e7%ba%b8%e5%ba%94%e7%94%a8%e4%b9%8b%e5%8a%a8%e6%80%81%e5%a3%81%e7%ba%b8\/\"},\"wordCount\":13,\"commentCount\":0,\"publisher\":{\"@id\":\"http:\/\/www.wunen.com\/#organization\"},\"image\":{\"@id\":\"http:\/\/www.wunen.com\/index.php\/2025\/05\/12\/android-%e5%a3%81%e7%ba%b8%e5%ba%94%e7%94%a8%e4%b9%8b%e5%8a%a8%e6%80%81%e5%a3%81%e7%ba%b8\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/\u8d44\u8baf.jpg\",\"articleSection\":[\"\u52a8\u6001\u58c1\u7eb8\"],\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"http:\/\/www.wunen.com\/index.php\/2025\/05\/12\/android-%e5%a3%81%e7%ba%b8%e5%ba%94%e7%94%a8%e4%b9%8b%e5%8a%a8%e6%80%81%e5%a3%81%e7%ba%b8\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"http:\/\/www.wunen.com\/index.php\/2025\/05\/12\/android-%e5%a3%81%e7%ba%b8%e5%ba%94%e7%94%a8%e4%b9%8b%e5%8a%a8%e6%80%81%e5%a3%81%e7%ba%b8\/\",\"url\":\"http:\/\/www.wunen.com\/index.php\/2025\/05\/12\/android-%e5%a3%81%e7%ba%b8%e5%ba%94%e7%94%a8%e4%b9%8b%e5%8a%a8%e6%80%81%e5%a3%81%e7%ba%b8\/\",\"name\":\"Android \u58c1\u7eb8\u5e94\u7528\u4e4b\u52a8\u6001\u58c1\u7eb8 - \u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51\",\"isPartOf\":{\"@id\":\"http:\/\/www.wunen.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"http:\/\/www.wunen.com\/index.php\/2025\/05\/12\/android-%e5%a3%81%e7%ba%b8%e5%ba%94%e7%94%a8%e4%b9%8b%e5%8a%a8%e6%80%81%e5%a3%81%e7%ba%b8\/#primaryimage\"},\"image\":{\"@id\":\"http:\/\/www.wunen.com\/index.php\/2025\/05\/12\/android-%e5%a3%81%e7%ba%b8%e5%ba%94%e7%94%a8%e4%b9%8b%e5%8a%a8%e6%80%81%e5%a3%81%e7%ba%b8\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/\u8d44\u8baf.jpg\",\"datePublished\":\"2025-05-11T22:00:07+00:00\",\"breadcrumb\":{\"@id\":\"http:\/\/www.wunen.com\/index.php\/2025\/05\/12\/android-%e5%a3%81%e7%ba%b8%e5%ba%94%e7%94%a8%e4%b9%8b%e5%8a%a8%e6%80%81%e5%a3%81%e7%ba%b8\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/www.wunen.com\/index.php\/2025\/05\/12\/android-%e5%a3%81%e7%ba%b8%e5%ba%94%e7%94%a8%e4%b9%8b%e5%8a%a8%e6%80%81%e5%a3%81%e7%ba%b8\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"http:\/\/www.wunen.com\/index.php\/2025\/05\/12\/android-%e5%a3%81%e7%ba%b8%e5%ba%94%e7%94%a8%e4%b9%8b%e5%8a%a8%e6%80%81%e5%a3%81%e7%ba%b8\/#primaryimage\",\"url\":\"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/\u8d44\u8baf.jpg\",\"contentUrl\":\"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/\u8d44\u8baf.jpg\",\"width\":260,\"height\":180},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/www.wunen.com\/index.php\/2025\/05\/12\/android-%e5%a3%81%e7%ba%b8%e5%ba%94%e7%94%a8%e4%b9%8b%e5%8a%a8%e6%80%81%e5%a3%81%e7%ba%b8\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"http:\/\/www.wunen.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Android \u58c1\u7eb8\u5e94\u7528\u4e4b\u52a8\u6001\u58c1\u7eb8\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/www.wunen.com\/#website\",\"url\":\"http:\/\/www.wunen.com\/\",\"name\":\"\u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51\",\"description\":\"\u8f6f\u4ef6\u8d44\u8baf\u6765\u7269\u5ae9\",\"publisher\":{\"@id\":\"http:\/\/www.wunen.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/www.wunen.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Organization\",\"@id\":\"http:\/\/www.wunen.com\/#organization\",\"name\":\"\u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51\",\"url\":\"http:\/\/www.wunen.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"http:\/\/www.wunen.com\/#\/schema\/logo\/image\/\",\"url\":\"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/cropped-\u7269\u5ae9-1.png\",\"contentUrl\":\"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/cropped-\u7269\u5ae9-1.png\",\"width\":1024,\"height\":1024,\"caption\":\"\u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51\"},\"image\":{\"@id\":\"http:\/\/www.wunen.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"http:\/\/www.wunen.com\/#\/schema\/person\/d5f7a6cf545656a9c90d507e64452db8\",\"name\":\"admin@wunen\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"http:\/\/www.wunen.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/d90ec1e3faf77c4d4e66e40c29b85ff6401161e0502f401dae2f0e25b38ce25e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/d90ec1e3faf77c4d4e66e40c29b85ff6401161e0502f401dae2f0e25b38ce25e?s=96&d=mm&r=g\",\"caption\":\"admin@wunen\"},\"sameAs\":[\"http:\/\/www.wunen.com\"],\"url\":\"http:\/\/www.wunen.com\/index.php\/author\/adminwunen\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Android \u58c1\u7eb8\u5e94\u7528\u4e4b\u52a8\u6001\u58c1\u7eb8 - \u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"http:\/\/www.wunen.com\/index.php\/2025\/05\/12\/android-\u58c1\u7eb8\u5e94\u7528\u4e4b\u52a8\u6001\u58c1\u7eb8\/","og_locale":"zh_CN","og_type":"article","og_title":"Android \u58c1\u7eb8\u5e94\u7528\u4e4b\u52a8\u6001\u58c1\u7eb8 - \u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51","og_description":"\u6548\u679c\u56fe\uff0c\u56fe\u4e2d\u684c\u9762\u80cc\u666f\u4e3a\u4e00\u6bb5\u89c6\u9891 &lt;?xml version=\"1.0\" encoding=\"utf-8\" [&hellip;]","og_url":"http:\/\/www.wunen.com\/index.php\/2025\/05\/12\/android-\u58c1\u7eb8\u5e94\u7528\u4e4b\u52a8\u6001\u58c1\u7eb8\/","og_site_name":"\u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51","article_published_time":"2025-05-11T22:00:07+00:00","og_image":[{"width":260,"height":180,"url":"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/\u8d44\u8baf.jpg","type":"image\/jpeg"}],"author":"admin@wunen","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin@wunen","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"http:\/\/www.wunen.com\/index.php\/2025\/05\/12\/android-%e5%a3%81%e7%ba%b8%e5%ba%94%e7%94%a8%e4%b9%8b%e5%8a%a8%e6%80%81%e5%a3%81%e7%ba%b8\/#article","isPartOf":{"@id":"http:\/\/www.wunen.com\/index.php\/2025\/05\/12\/android-%e5%a3%81%e7%ba%b8%e5%ba%94%e7%94%a8%e4%b9%8b%e5%8a%a8%e6%80%81%e5%a3%81%e7%ba%b8\/"},"author":{"name":"admin@wunen","@id":"http:\/\/www.wunen.com\/#\/schema\/person\/d5f7a6cf545656a9c90d507e64452db8"},"headline":"Android \u58c1\u7eb8\u5e94\u7528\u4e4b\u52a8\u6001\u58c1\u7eb8","datePublished":"2025-05-11T22:00:07+00:00","mainEntityOfPage":{"@id":"http:\/\/www.wunen.com\/index.php\/2025\/05\/12\/android-%e5%a3%81%e7%ba%b8%e5%ba%94%e7%94%a8%e4%b9%8b%e5%8a%a8%e6%80%81%e5%a3%81%e7%ba%b8\/"},"wordCount":13,"commentCount":0,"publisher":{"@id":"http:\/\/www.wunen.com\/#organization"},"image":{"@id":"http:\/\/www.wunen.com\/index.php\/2025\/05\/12\/android-%e5%a3%81%e7%ba%b8%e5%ba%94%e7%94%a8%e4%b9%8b%e5%8a%a8%e6%80%81%e5%a3%81%e7%ba%b8\/#primaryimage"},"thumbnailUrl":"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/\u8d44\u8baf.jpg","articleSection":["\u52a8\u6001\u58c1\u7eb8"],"inLanguage":"zh-Hans","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["http:\/\/www.wunen.com\/index.php\/2025\/05\/12\/android-%e5%a3%81%e7%ba%b8%e5%ba%94%e7%94%a8%e4%b9%8b%e5%8a%a8%e6%80%81%e5%a3%81%e7%ba%b8\/#respond"]}]},{"@type":"WebPage","@id":"http:\/\/www.wunen.com\/index.php\/2025\/05\/12\/android-%e5%a3%81%e7%ba%b8%e5%ba%94%e7%94%a8%e4%b9%8b%e5%8a%a8%e6%80%81%e5%a3%81%e7%ba%b8\/","url":"http:\/\/www.wunen.com\/index.php\/2025\/05\/12\/android-%e5%a3%81%e7%ba%b8%e5%ba%94%e7%94%a8%e4%b9%8b%e5%8a%a8%e6%80%81%e5%a3%81%e7%ba%b8\/","name":"Android \u58c1\u7eb8\u5e94\u7528\u4e4b\u52a8\u6001\u58c1\u7eb8 - \u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51","isPartOf":{"@id":"http:\/\/www.wunen.com\/#website"},"primaryImageOfPage":{"@id":"http:\/\/www.wunen.com\/index.php\/2025\/05\/12\/android-%e5%a3%81%e7%ba%b8%e5%ba%94%e7%94%a8%e4%b9%8b%e5%8a%a8%e6%80%81%e5%a3%81%e7%ba%b8\/#primaryimage"},"image":{"@id":"http:\/\/www.wunen.com\/index.php\/2025\/05\/12\/android-%e5%a3%81%e7%ba%b8%e5%ba%94%e7%94%a8%e4%b9%8b%e5%8a%a8%e6%80%81%e5%a3%81%e7%ba%b8\/#primaryimage"},"thumbnailUrl":"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/\u8d44\u8baf.jpg","datePublished":"2025-05-11T22:00:07+00:00","breadcrumb":{"@id":"http:\/\/www.wunen.com\/index.php\/2025\/05\/12\/android-%e5%a3%81%e7%ba%b8%e5%ba%94%e7%94%a8%e4%b9%8b%e5%8a%a8%e6%80%81%e5%a3%81%e7%ba%b8\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["http:\/\/www.wunen.com\/index.php\/2025\/05\/12\/android-%e5%a3%81%e7%ba%b8%e5%ba%94%e7%94%a8%e4%b9%8b%e5%8a%a8%e6%80%81%e5%a3%81%e7%ba%b8\/"]}]},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"http:\/\/www.wunen.com\/index.php\/2025\/05\/12\/android-%e5%a3%81%e7%ba%b8%e5%ba%94%e7%94%a8%e4%b9%8b%e5%8a%a8%e6%80%81%e5%a3%81%e7%ba%b8\/#primaryimage","url":"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/\u8d44\u8baf.jpg","contentUrl":"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/\u8d44\u8baf.jpg","width":260,"height":180},{"@type":"BreadcrumbList","@id":"http:\/\/www.wunen.com\/index.php\/2025\/05\/12\/android-%e5%a3%81%e7%ba%b8%e5%ba%94%e7%94%a8%e4%b9%8b%e5%8a%a8%e6%80%81%e5%a3%81%e7%ba%b8\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"http:\/\/www.wunen.com\/"},{"@type":"ListItem","position":2,"name":"Android \u58c1\u7eb8\u5e94\u7528\u4e4b\u52a8\u6001\u58c1\u7eb8"}]},{"@type":"WebSite","@id":"http:\/\/www.wunen.com\/#website","url":"http:\/\/www.wunen.com\/","name":"\u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51","description":"\u8f6f\u4ef6\u8d44\u8baf\u6765\u7269\u5ae9","publisher":{"@id":"http:\/\/www.wunen.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/www.wunen.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-Hans"},{"@type":"Organization","@id":"http:\/\/www.wunen.com\/#organization","name":"\u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51","url":"http:\/\/www.wunen.com\/","logo":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"http:\/\/www.wunen.com\/#\/schema\/logo\/image\/","url":"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/cropped-\u7269\u5ae9-1.png","contentUrl":"http:\/\/www.wunen.com\/wp-content\/uploads\/2025\/03\/cropped-\u7269\u5ae9-1.png","width":1024,"height":1024,"caption":"\u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51"},"image":{"@id":"http:\/\/www.wunen.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"http:\/\/www.wunen.com\/#\/schema\/person\/d5f7a6cf545656a9c90d507e64452db8","name":"admin@wunen","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"http:\/\/www.wunen.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/d90ec1e3faf77c4d4e66e40c29b85ff6401161e0502f401dae2f0e25b38ce25e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d90ec1e3faf77c4d4e66e40c29b85ff6401161e0502f401dae2f0e25b38ce25e?s=96&d=mm&r=g","caption":"admin@wunen"},"sameAs":["http:\/\/www.wunen.com"],"url":"http:\/\/www.wunen.com\/index.php\/author\/adminwunen\/"}]}},"_links":{"self":[{"href":"http:\/\/www.wunen.com\/index.php\/wp-json\/wp\/v2\/posts\/2147","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.wunen.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.wunen.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.wunen.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.wunen.com\/index.php\/wp-json\/wp\/v2\/comments?post=2147"}],"version-history":[{"count":0,"href":"http:\/\/www.wunen.com\/index.php\/wp-json\/wp\/v2\/posts\/2147\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.wunen.com\/index.php\/wp-json\/wp\/v2\/media\/215"}],"wp:attachment":[{"href":"http:\/\/www.wunen.com\/index.php\/wp-json\/wp\/v2\/media?parent=2147"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.wunen.com\/index.php\/wp-json\/wp\/v2\/categories?post=2147"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.wunen.com\/index.php\/wp-json\/wp\/v2\/tags?post=2147"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}