﻿{"id":737,"date":"2021-09-04T17:52:44","date_gmt":"2021-09-04T09:52:44","guid":{"rendered":"http:\/\/blog.sway.com.cn\/?p=737"},"modified":"2021-09-04T17:53:11","modified_gmt":"2021-09-04T09:53:11","slug":"uni-app%e7%a6%bb%e7%ba%bfandroid%e6%89%93%e5%8c%85%e4%bd%bf%e7%94%a8scheme","status":"publish","type":"post","link":"http:\/\/blog.sway.com.cn\/?p=737","title":{"rendered":"uni-app\u79bb\u7ebfandroid\u6253\u5305\u4f7f\u7528scheme"},"content":{"rendered":"<p>hbuilder\u7248\u672c\uff1a3.1.12<\/p>\n<p>\u5728AndroidManifest.xml\u4e2d\u5bf9io.dcloud.PandoraEntry\u6dfb\u52a0scheme\u5185\u5bb9\uff08\u6ce8\u610f\u4e0d\u662fio.dcloud.PandoraEntryActivity\uff09<\/p>\n<pre class=\"lang:java decode:true\">        &lt;activity\r\n            <span style=\"color: #ff0000;\">android:name=\"io.dcloud.PandoraEntry\"<\/span>\r\n            android:configChanges=\"orientation|keyboardHidden|keyboard|navigation\"\r\n            android:label=\"@string\/app_name\"\r\n            android:launchMode=\"singleTask\"\r\n            android:hardwareAccelerated=\"true\"\r\n            android:theme=\"@style\/TranslucentTheme\"\r\n            android:screenOrientation=\"portrait\"\r\n            android:windowSoftInputMode=\"adjustResize\" &gt;\r\n            &lt;intent-filter&gt;\r\n                &lt;action android:name=\"android.intent.action.MAIN\" \/&gt;\r\n                &lt;category android:name=\"android.intent.category.LAUNCHER\" \/&gt;\r\n            &lt;\/intent-filter&gt;\r\n<span style=\"color: #ff0000;\">            &lt;intent-filter&gt;\r\n                &lt;action android:name=\"android.intent.action.VIEW\" \/&gt;\r\n                &lt;category android:name=\"android.intent.category.DEFAULT\" \/&gt;\r\n                &lt;category android:name=\"android.intent.category.BROWSABLE\" \/&gt;\r\n                &lt;data android:scheme=\"xxxxx\" \/&gt;\r\n            &lt;\/intent-filter&gt;<\/span>\r\n            &lt;intent-filter&gt;\r\n                &lt;action android:name=\"android.intent.action.oppopush\" \/&gt;\r\n                &lt;category android:name=\"android.intent.category.DEFAULT\" \/&gt;\r\n            &lt;\/intent-filter&gt;\r\n        &lt;\/activity&gt;<\/pre>\n<p>\u8bb0\u5f97\u628ascheme\u6362\u6210\u6b63\u786e\u7684\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>hbuilder\u7248\u672c\uff1a3.1.12 \u5728AndroidManifest.xml\u4e2d\u5bf9io.dcloud.Pando [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[222],"tags":[223],"class_list":["post-737","post","type-post","status-publish","format-standard","hentry","category-android","tag-uni-app"],"_links":{"self":[{"href":"http:\/\/blog.sway.com.cn\/index.php?rest_route=\/wp\/v2\/posts\/737","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.sway.com.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.sway.com.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.sway.com.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.sway.com.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=737"}],"version-history":[{"count":2,"href":"http:\/\/blog.sway.com.cn\/index.php?rest_route=\/wp\/v2\/posts\/737\/revisions"}],"predecessor-version":[{"id":739,"href":"http:\/\/blog.sway.com.cn\/index.php?rest_route=\/wp\/v2\/posts\/737\/revisions\/739"}],"wp:attachment":[{"href":"http:\/\/blog.sway.com.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=737"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.sway.com.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=737"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.sway.com.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=737"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}