{"id":991,"date":"2025-04-21T18:00:08","date_gmt":"2025-04-21T10:00:08","guid":{"rendered":"https:\/\/www.wunen.com\/index.php\/2025\/04\/21\/20140917%e8%ae%be%e7%bd%ae%e5%8a%a8%e6%80%81%e5%a3%81%e7%ba%b8\/"},"modified":"2025-04-21T18:00:08","modified_gmt":"2025-04-21T10:00:08","slug":"20140917%e8%ae%be%e7%bd%ae%e5%8a%a8%e6%80%81%e5%a3%81%e7%ba%b8","status":"publish","type":"post","link":"http:\/\/www.wunen.com\/index.php\/2025\/04\/21\/20140917%e8%ae%be%e7%bd%ae%e5%8a%a8%e6%80%81%e5%a3%81%e7%ba%b8\/","title":{"rendered":"20140917\u8bbe\u7f6e\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=\"htmledit_views\" id=\"content_views\">\n<div class=\"blogpost-body\" id=\"cnblogs_post_body\">\n<p>\n    Manifest.xml\u4e2d\uff1a\n   <\/p>\n<div class=\"cnblogs_Highlighter\">\n<pre><code class=\"language-html\">         &lt;service \n            android:enabled=\"true\"\n            android:permission=\"android.permission.BIND_WALLPAPER\"\n            android:name=\"com.android.settings.common.display.BackgroundSettingService\"&gt;\n            &lt;intent-filter&gt;\n                &lt;action android:name=\"android.service.wallpaper.WallpaperService\"&gt;&lt;\/action&gt;\n            &lt;\/intent-filter&gt;\n            &lt;meta-data \n                android:name=\"android.service.wallpaper\" \n                android:resource=\"@xml\/wallpaper\"&gt;\n            &lt;\/meta-data&gt;\n        &lt;\/service&gt;\n<\/code><\/pre>\n<\/p><\/div>\n<\/p>\n<p>\n    \u9009\u4e2d\u8bbe\u7f6e\u4e2d\u7684\u6761\u76ee\uff1a\n   <\/p>\n<div class=\"cnblogs_Highlighter\">\n<pre><code class=\"language-java\">\t\tActivity activity = getActivity();\n\t\tPreferenceScreen screenBackgroundSetting = (PreferenceScreen) findPreference(KEY_BACKGROUND_SETTING);\n\t\tif(screenBackgroundSetting != null){\n\t\t\tscreenBackgroundSetting.setOnPreferenceClickListener(new OnPreferenceClickListener(){\n\n\t\t\t\t@Override\n\t\t\t\tpublic boolean onPreferenceClick(Preference preference) {\n\t\t\t\t\t\/\/ TODO Auto-generated method stub\n\t\t\t\t\tstartFragmentTransaction(new CommonBackgroundSettingFragment());\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t});\n\t\t}\n<\/code><\/pre>\n<\/p><\/div>\n<\/p>\n<p>\n    \u53f3\u8fb9\u754c\u9762\u5207\u6362\u4e3a\u5982\u4e0bFragment:\n   <\/p>\n<div class=\"cnblogs_Highlighter\">\n<pre><code class=\"language-java\">package com.android.settings.common.display;\n\nimport android.app.Fragment;\nimport android.app.WallpaperInfo;\nimport android.app.WallpaperManager;\nimport android.content.Context;\nimport android.content.Intent;\nimport android.os.Bundle;\nimport android.util.Log;\nimport android.view.LayoutInflater;\nimport android.view.View;\nimport android.view.ViewGroup;\nimport android.widget.Button;\nimport android.widget.Toast;\n\nimport com.android.settings.R;\n\n\npublic class CommonBackgroundSettingFragment extends Fragment{\n\tprivate Button btnBackground1;\n\tprivate static final String tagetPackageName = \"com.android.wallpaper\";\n\tprivate static final int REQUEST_SET_LIVE_WALLPAPER = 101;\n\tprivate static final String TAG = \"CommonBackgroundSettingFragment\";\n\n\t@Override\n\tpublic void onCreate(Bundle savedInstanceState) {\n\t\t\/\/ TODO Auto-generated method stub\n\t\tsuper.onCreate(savedInstanceState);\n\t}\n\n\t@Override\n\tpublic View onCreateView(LayoutInflater inflater, ViewGroup container,\n\t\t\tBundle savedInstanceState) {\n\t\tView rootView = inflater.inflate(R.layout.fragment_background_setting, container, false);\n\t\tbtnBackground1 = (Button) rootView.findViewById(R.id.btnBackground1);\n\t\tbtnBackground1.requestFocus();\n\t\tbtnBackground1.setOnClickListener(new View.OnClickListener() {\n\t\t\t\n\t\t\t@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tIntent intent = new Intent();\n\t\t\t\tintent.setAction(WallpaperManager.ACTION_LIVE_WALLPAPER_CHOOSER);\n\t\t\t\tstartActivityForResult(intent, REQUEST_SET_LIVE_WALLPAPER);\n\t\t\t\tToast.makeText(CommonBackgroundSettingFragment.this.getActivity(), getString(R.string.start_background_setting), Toast.LENGTH_LONG).show();\n\t\t\t}\n\t\t});\n\t\treturn rootView;\n\t}\n\t\n\t@Override\n\tpublic void onResume() {\n\t\t\/\/ TODO Auto-generated method stub\n\t\tsuper.onResume();\n\t}\n\n\t@Override\n\tpublic void onActivityResult(int requestCode, int resultCode, Intent data) {\n\t\tif (requestCode == REQUEST_SET_LIVE_WALLPAPER) {  \n            if (isLiveWallpaperRunning(this.getActivity(), tagetPackageName)) {  \n               Toast.makeText(this.getActivity(), \"LiveWallpaper is Running\", Toast.LENGTH_LONG).show();\n               \n            }else{\n                Toast.makeText(this.getActivity(), \"LiveWallpaper is not Running\", Toast.LENGTH_LONG).show();\n            }\n        }  \n        super.onActivityResult(requestCode, resultCode, data);  \n\t}\n\t\n\t\/** \n     * \u5224\u65ad\u4e00\u4e2a\u52a8\u6001\u58c1\u7eb8\u662f\u5426\u5df2\u7ecf\u5728\u8fd0\u884c \n     *  \n     * @param context \n     *            :\u4e0a\u4e0b\u6587 \n     * @param tagetPackageName \n     *            :\u8981\u5224\u65ad\u7684\u52a8\u6001\u58c1\u7eb8\u7684\u5305\u540d \n     * @return \n     *\/  \n    public static boolean isLiveWallpaperRunning(Context context, String tagetPackageName) {  \n        WallpaperManager wallpaperManager = WallpaperManager.getInstance(context);\/\/ \u5f97\u5230\u58c1\u7eb8\u7ba1\u7406\u5668  \n        WallpaperInfo wallpaperInfo = wallpaperManager.getWallpaperInfo();\/\/ \u5982\u679c\u7cfb\u7edf\u4f7f\u7528\u7684\u58c1\u7eb8\u662f\u52a8\u6001\u58c1\u7eb8\u8bdd\u5219\u8fd4\u56de\u8be5\u52a8\u6001\u58c1\u7eb8\u7684\u4fe1\u606f,\u5426\u5219\u4f1a\u8fd4\u56denull  \n        if (wallpaperInfo != null) { \/\/ \u5982\u679c\u662f\u52a8\u6001\u58c1\u7eb8,\u5219\u5f97\u5230\u8be5\u52a8\u6001\u58c1\u7eb8\u7684\u5305\u540d,\u5e76\u4e0e\u60f3\u77e5\u9053\u7684\u52a8\u6001\u58c1\u7eb8\u5305\u540d\u505a\u6bd4\u8f83  \n            String currentLiveWallpaperPackageName = wallpaperInfo.getPackageName();  \n            if (currentLiveWallpaperPackageName.equals(tagetPackageName)) {  \n                return true;  \n            }  \n        }  \n        return false;  \n    }  \n\t\n\t\n\n\t\n}\n<\/code><\/pre>\n<\/p><\/div>\n<\/p>\n<p>\n    \u8bbe\u7f6e\u52a8\u6001\u58c1\u7eb8\u7684Service:\n   <\/p>\n<div class=\"cnblogs_Highlighter\">\n<pre><code class=\"language-java\">\/**\n * LiveWallpaper Launcher And Preference Template\n * The MIT License\n * copyright (c) 2011 mdlab.jp\n * @author itoz\n *\/\npackage com.android.settings.common.display;\n\nimport java.sql.Date;\nimport java.text.SimpleDateFormat;\n\nimport android.annotation.SuppressLint;\nimport android.content.SharedPreferences;\nimport android.content.res.Resources;\nimport android.graphics.Bitmap;\nimport android.graphics.BitmapFactory;\nimport android.graphics.Canvas;\nimport android.graphics.Color;\nimport android.graphics.Paint;\nimport android.os.Bundle;\nimport android.os.Handler;\nimport android.service.wallpaper.WallpaperService;\nimport android.util.Log;\nimport android.view.MotionEvent;\nimport android.view.SurfaceHolder;\nimport android.widget.Toast;\nimport com.android.settings.R;\n\n@SuppressLint(\"NewApi\")\npublic class BackgroundSettingService extends WallpaperService\n{\n\tprivate static final String TAG = \"BackgroundSettingService\";\n\n\t private Handler handler = new Handler();  \n     \n     \n     \n\t    @Override  \n\t    public void onCreate() {  \n\t        Log.i(TAG, \"service onCreate\");  \n\t        super.onCreate();  \n\t    }  \n\t  \n\t    @Override  \n\t    public void onDestroy() {  \n\t    \tLog.i(TAG, \"service onDestory\");  \n\t        super.onDestroy();  \n\t    }  \n\t  \n\t    @Override  \n\t    public Engine onCreateEngine() {  \n\t    \tLog.i(TAG, \"service onCreateEngine\");  \n\t        return new MyEngine();  \n\t    }  \n\t      \n\t    private class MyEngine extends Engine{  \n\t         \n\t        private float x = 200;  \n\t        private float y = 300;  \n\t        private Paint mPaint;  \n\t        private boolean mVisible = false;  \n\t         \n\t        private Runnable drawThread = new Runnable() {  \n\t            public void run() {  \n\t                drawWallpaper();  \n\t            }  \n\t        };  \n\t         \n\t        public MyEngine(){  \n\t        \tLog.i(TAG, \"MyEngine\");  \n\t            mPaint = new Paint();  \n\t            mPaint.setColor(Color.RED);  \n\t            mPaint.setAntiAlias(true);  \n\t            mPaint.setStrokeWidth(4);  \n\t            mPaint.setStyle(Paint.Style.STROKE);  \n\t            mPaint.setTextSize(24);  \n\t        }  \n\t  \n\t        @Override  \n\t        public Bundle onCommand(String action, int x, int y, int z, Bundle extras, boolean resultRequested) {  \n\t            \/\/ TODO Auto-generated method stub  \n\t        \tLog.i(TAG, \"onCommand\");  \n\t            return super.onCommand(action, x, y, z, extras, resultRequested);  \n\t        }  \n\t  \n\t        @Override  \n\t        public void onCreate(SurfaceHolder surfaceHolder) {  \n\t        \tLog.i(TAG, \"onCreate\");  \n\t            super.onCreate(surfaceHolder);  \n\t            \/\/\u4f5c\u7528\u662f\u4f7f\u58c1\u7eb8\u80fd\u54cd\u5e94touch event\uff0c\u9ed8\u8ba4\u662ffalse  \n\t            setTouchEventsEnabled(true);  \n\t        }  \n\t  \n\t        @Override  \n\t        public void onDestroy() {  \n\t        \tLog.i(TAG, \"onDestroy\");  \n\t            super.onDestroy();  \n\t            handler.removeCallbacks(drawThread);  \n\t        }  \n\t  \n\t        @Override  \n\t        public void onOffsetsChanged(float xOffset, float yOffset, float xOffsetStep, float yOffsetStep, int xPixelOffset, int yPixelOffset) {  \n\t            \/\/ TODO Auto-generated method stub  \n\t        \tLog.i(TAG, \"onoffsetsChanged\");  \n\t            super.onOffsetsChanged(xOffset, yOffset, xOffsetStep, yOffsetStep, xPixelOffset, yPixelOffset);  \n\t        }  \n\t         \n\t        @Override  \n\t        public void onVisibilityChanged(boolean visible) {  \n\t        \tLog.i(TAG, \"onVisibilityChanged\");  \n\t            mVisible = visible;  \n\t            if (visible) {  \n\t                \/\/\u5f00\u59cb  \n\t                handler.postDelayed(drawThread, 50);  \n\t            } else {  \n\t                handler.removeCallbacks(drawThread);  \n\t            }  \n\t        }  \n\t  \n\t        @Override  \n\t        public void onSurfaceChanged(SurfaceHolder holder, int format, int width, int height) {  \n\t        \tLog.i(TAG, \"onSurfaceChanged\");  \n\t            \/\/ TODO Auto-generated method stub  \n\t            super.onSurfaceChanged(holder, format, width, height);  \n\t        }  \n\t  \n\t        @Override  \n\t        public void onSurfaceCreated(SurfaceHolder holder) {  \n\t        \tLog.i(TAG, \"onSurfaceCreated\");  \n\t            super.onSurfaceCreated(holder);  \n\t        }  \n\t  \n\t        @Override  \n\t        public void onSurfaceDestroyed(SurfaceHolder holder) {  \n\t        \tLog.i(TAG, \"onSurfaceDestoryed\");  \n\t            \/\/ TODO Auto-generated method stub  \n\t            super.onSurfaceDestroyed(holder);  \n\t            handler.removeCallbacks(drawThread);  \n\t        }  \n\t  \n\t        @Override  \n\t        public void onTouchEvent(MotionEvent event) {  \n\t        \tLog.i(TAG, \"onTouchEvent\");  \n\t            \/\/ TODO Auto-generated method stub  \n\t            super.onTouchEvent(event);  \n\t        }  \n\t         \n\t         \n\t        private void drawWallpaper() {  \n\t              \n\t            SurfaceHolder holder = getSurfaceHolder();  \n\t            Canvas canvas = holder.lockCanvas();  \n\t            drawTime(canvas);  \n\t            holder.unlockCanvasAndPost(canvas);  \n\t              \n\t            \/\/\u5faa\u73af\u6267\u884c  \n\t            handler.postDelayed(drawThread, 50);  \n\t        }  \n\t  \n\t        private void drawTime(Canvas canvas) {  \n\t            Date date = new Date(System.currentTimeMillis());  \n\t            SimpleDateFormat sdf = new SimpleDateFormat(\"yyyy-MM-dd hh:mm:ss\");  \n\t            String dataStr = sdf.format(date);  \n\t            canvas.save();  \n\t            Bitmap bitmap = BitmapFactory.decodeResource(getResources(), R.drawable.captain_america);\n\t            Bitmap mBitmapDisplayed = Bitmap.createScaledBitmap(bitmap, bitmap.getWidth(), bitmap.getHeight(), false);\n\t            canvas.drawBitmap(mBitmapDisplayed, 0, 0, null);\n\/\/\t            canvas.drawColor(0xff00ff00);  \n\t            canvas.drawText(dataStr, x, y, mPaint);  \n\t            canvas.restore();  \n\t        }  \n\t    }  \n\t\n\t\n}\n<\/code><\/pre>\n<\/p><\/div>\n<\/p>\n<p>\n    \u6548\u679c\u4e3a\uff1a\u80cc\u666f\u662f\u201ccaptain_america.png\u201d\uff0c\u540c\u65f6\u4e0a\u5c42\u6709\u65f6\u95f4\u7684\u52a8\u6001\u66f4\u65b0\u3002\n   <\/p>\n<\/p><\/div>\n<p>\n   \u8f6c\u8f7d\u4e8e:https:\/\/www.cnblogs.com\/leihupqrst\/p\/4396065.html\n  <\/p>\n<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Manifest.xml\u4e2d\uff1a &lt;service android:enabled=&#8221;true&#8221; andro [&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-991","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>20140917\u8bbe\u7f6e\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\/04\/21\/20140917\u8bbe\u7f6e\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=\"20140917\u8bbe\u7f6e\u52a8\u6001\u58c1\u7eb8 - \u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51\" \/>\n<meta property=\"og:description\" content=\"Manifest.xml\u4e2d\uff1a &lt;service android:enabled=&quot;true&quot; andro [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"http:\/\/www.wunen.com\/index.php\/2025\/04\/21\/20140917\u8bbe\u7f6e\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-04-21T10:00:08+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=\"4 \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\/04\/21\/20140917%e8%ae%be%e7%bd%ae%e5%8a%a8%e6%80%81%e5%a3%81%e7%ba%b8\/#article\",\"isPartOf\":{\"@id\":\"http:\/\/www.wunen.com\/index.php\/2025\/04\/21\/20140917%e8%ae%be%e7%bd%ae%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\":\"20140917\u8bbe\u7f6e\u52a8\u6001\u58c1\u7eb8\",\"datePublished\":\"2025-04-21T10:00:08+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\/\/www.wunen.com\/index.php\/2025\/04\/21\/20140917%e8%ae%be%e7%bd%ae%e5%8a%a8%e6%80%81%e5%a3%81%e7%ba%b8\/\"},\"wordCount\":14,\"commentCount\":0,\"publisher\":{\"@id\":\"http:\/\/www.wunen.com\/#organization\"},\"image\":{\"@id\":\"http:\/\/www.wunen.com\/index.php\/2025\/04\/21\/20140917%e8%ae%be%e7%bd%ae%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\/04\/21\/20140917%e8%ae%be%e7%bd%ae%e5%8a%a8%e6%80%81%e5%a3%81%e7%ba%b8\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"http:\/\/www.wunen.com\/index.php\/2025\/04\/21\/20140917%e8%ae%be%e7%bd%ae%e5%8a%a8%e6%80%81%e5%a3%81%e7%ba%b8\/\",\"url\":\"http:\/\/www.wunen.com\/index.php\/2025\/04\/21\/20140917%e8%ae%be%e7%bd%ae%e5%8a%a8%e6%80%81%e5%a3%81%e7%ba%b8\/\",\"name\":\"20140917\u8bbe\u7f6e\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\/04\/21\/20140917%e8%ae%be%e7%bd%ae%e5%8a%a8%e6%80%81%e5%a3%81%e7%ba%b8\/#primaryimage\"},\"image\":{\"@id\":\"http:\/\/www.wunen.com\/index.php\/2025\/04\/21\/20140917%e8%ae%be%e7%bd%ae%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-04-21T10:00:08+00:00\",\"breadcrumb\":{\"@id\":\"http:\/\/www.wunen.com\/index.php\/2025\/04\/21\/20140917%e8%ae%be%e7%bd%ae%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\/04\/21\/20140917%e8%ae%be%e7%bd%ae%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\/04\/21\/20140917%e8%ae%be%e7%bd%ae%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\/04\/21\/20140917%e8%ae%be%e7%bd%ae%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\":\"20140917\u8bbe\u7f6e\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":"20140917\u8bbe\u7f6e\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\/04\/21\/20140917\u8bbe\u7f6e\u52a8\u6001\u58c1\u7eb8\/","og_locale":"zh_CN","og_type":"article","og_title":"20140917\u8bbe\u7f6e\u52a8\u6001\u58c1\u7eb8 - \u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51","og_description":"Manifest.xml\u4e2d\uff1a &lt;service android:enabled=\"true\" andro [&hellip;]","og_url":"http:\/\/www.wunen.com\/index.php\/2025\/04\/21\/20140917\u8bbe\u7f6e\u52a8\u6001\u58c1\u7eb8\/","og_site_name":"\u7269\u5ae9\u8f6f\u4ef6\u8d44\u8baf\u7f51","article_published_time":"2025-04-21T10:00:08+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":"4 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"http:\/\/www.wunen.com\/index.php\/2025\/04\/21\/20140917%e8%ae%be%e7%bd%ae%e5%8a%a8%e6%80%81%e5%a3%81%e7%ba%b8\/#article","isPartOf":{"@id":"http:\/\/www.wunen.com\/index.php\/2025\/04\/21\/20140917%e8%ae%be%e7%bd%ae%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":"20140917\u8bbe\u7f6e\u52a8\u6001\u58c1\u7eb8","datePublished":"2025-04-21T10:00:08+00:00","mainEntityOfPage":{"@id":"http:\/\/www.wunen.com\/index.php\/2025\/04\/21\/20140917%e8%ae%be%e7%bd%ae%e5%8a%a8%e6%80%81%e5%a3%81%e7%ba%b8\/"},"wordCount":14,"commentCount":0,"publisher":{"@id":"http:\/\/www.wunen.com\/#organization"},"image":{"@id":"http:\/\/www.wunen.com\/index.php\/2025\/04\/21\/20140917%e8%ae%be%e7%bd%ae%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\/04\/21\/20140917%e8%ae%be%e7%bd%ae%e5%8a%a8%e6%80%81%e5%a3%81%e7%ba%b8\/#respond"]}]},{"@type":"WebPage","@id":"http:\/\/www.wunen.com\/index.php\/2025\/04\/21\/20140917%e8%ae%be%e7%bd%ae%e5%8a%a8%e6%80%81%e5%a3%81%e7%ba%b8\/","url":"http:\/\/www.wunen.com\/index.php\/2025\/04\/21\/20140917%e8%ae%be%e7%bd%ae%e5%8a%a8%e6%80%81%e5%a3%81%e7%ba%b8\/","name":"20140917\u8bbe\u7f6e\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\/04\/21\/20140917%e8%ae%be%e7%bd%ae%e5%8a%a8%e6%80%81%e5%a3%81%e7%ba%b8\/#primaryimage"},"image":{"@id":"http:\/\/www.wunen.com\/index.php\/2025\/04\/21\/20140917%e8%ae%be%e7%bd%ae%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-04-21T10:00:08+00:00","breadcrumb":{"@id":"http:\/\/www.wunen.com\/index.php\/2025\/04\/21\/20140917%e8%ae%be%e7%bd%ae%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\/04\/21\/20140917%e8%ae%be%e7%bd%ae%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\/04\/21\/20140917%e8%ae%be%e7%bd%ae%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\/04\/21\/20140917%e8%ae%be%e7%bd%ae%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":"20140917\u8bbe\u7f6e\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\/991","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=991"}],"version-history":[{"count":0,"href":"http:\/\/www.wunen.com\/index.php\/wp-json\/wp\/v2\/posts\/991\/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=991"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.wunen.com\/index.php\/wp-json\/wp\/v2\/categories?post=991"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.wunen.com\/index.php\/wp-json\/wp\/v2\/tags?post=991"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}