{"id":12685,"date":"2022-11-24T15:13:50","date_gmt":"2022-11-24T07:13:50","guid":{"rendered":"https:\/\/www.yimenapp.com\/kb-yimen\/?p=12685"},"modified":"2022-11-24T15:13:50","modified_gmt":"2022-11-24T07:13:50","slug":"%e5%b0%8f%e7%b1%b3%e5%bc%80%e5%8f%91%e5%b9%b3%e5%8f%b0-%e5%ba%94%e7%94%a8%e9%a2%91%e7%b9%81%e8%b0%83%e7%94%a8getsubscriberid-getdeviceid%e4%bc%98%e5%8c%96%e8%af%b4%e6%98%8e","status":"publish","type":"post","link":"https:\/\/www.yimenapp.com\/kb-yimen\/12685\/","title":{"rendered":"\u5c0f\u7c73\u5f00\u53d1\u5e73\u53f0 \u5e94\u7528\u9891\u7e41\u8c03\u7528getSubscriberId\/getDeviceId\u4f18\u5316\u8bf4\u660e"},"content":{"rendered":"\n<p>\u5e94\u7528\u9891\u7e41\u8c03\u7528getSubscriberId\/getDeviceId\u4f18\u5316\u8bf4\u660e<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"_0\">getSubscriberId\/getDeviceId\u8fd4\u56denull\u60c5\u51b5\u8bf4\u660e<\/h2>\n\n\n\n<p><span class=\"wpcom_tag_link\"><a href=\"https:\/\/www.yimenapp.com\/kb-yimen\/tag\/android-10%e9%9a%90%e7%a7%81\/\" title=\"Android 10\u9690\u79c1\" target=\"_blank\">Android 10\u9690\u79c1<\/a><\/span>\u6743\u53d8\u66f4\u5e94\u7528\u65e0\u6cd5\u901a\u8fc7\u4ee5\u4e0b\u65b9\u6cd5\u83b7\u53d6\u8bbe\u5907\u6807\u8bc6\u7b26\uff1a<\/p>\n\n\n\n<p><span class=\"wpcom_tag_link\"><a href=\"https:\/\/www.yimenapp.com\/kb-yimen\/tag\/build\/\" title=\"Build\" target=\"_blank\">Build<\/a><\/span><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>getSerial()<\/code><\/pre>\n\n\n\n<p><code>TelephonyManager&nbsp;<\/code><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>getImei()\ngetDeviceId()\ngetMeid()\ngetSimSerialNumber()\ngetSubscriberId()<\/code><\/pre>\n\n\n\n<p><code>\u5177\u4f53\u53c2\u89c1\uff1a<a href=\"https:\/\/developer.android.com\/about\/versions\/10\/privacy\/changes?hl=zh-cn\">https:\/\/developer.android.com\/about\/versions\/10\/privacy\/changes?hl=zh-cn<\/a><\/code><\/p>\n\n\n\n<p>\u7531\u4e8e<span class=\"wpcom_tag_link\"><a href=\"https:\/\/www.yimenapp.com\/kb-yimen\/tag\/android-10\/\" title=\"Android 10\" target=\"_blank\">Android 10<\/a><\/span><span class=\"wpcom_tag_link\"><a href=\"https:\/\/www.yimenapp.com\/kb-yimen\/tag\/yinsi\/\" title=\"\u9690\u79c1\" target=\"_blank\">\u9690\u79c1<\/a><\/span>\u6743\u9650\u53d8\u66f4\u5bfc\u81f4\u5e94\u7528\u65e0\u6cd5\u83b7\u53d6\u8bbe\u5907\u6807\u8bc6\u7b26\uff0c\u5e94\u7528\u65e0\u6cd5\u83b7\u53d6\u8bbe\u5907\u6807\u8bc6\u7b26\u540e\u4e00\u76f4\u9891\u7e41\u8c03\u7528\u76f8\u5173\u63a5\u53e3\u5c1d\u8bd5\u83b7\u53d6\uff0c\u4ece\u800c\u5bfc\u81f4\u7cfb\u7edf\u76f8\u5173\u8fdb\u7a0bbinder\u5360\u6ee1\uff0c\u5f15\u53d1\u4e00\u7cfb\u5217\u95ee\u9898\uff1a\u5982<span class=\"wpcom_tag_link\"><a href=\"https:\/\/www.yimenapp.com\/kb-yimen\/tag\/%e6%89%8b%e6%9c%ba%e9%87%8d%e5%90%af\/\" title=\"\u624b\u673a\u91cd\u542f\" target=\"_blank\">\u624b\u673a\u91cd\u542f<\/a><\/span>\uff0c\u5e94\u7528\u9ed1\u5c4f\u5361\u987f\u7b49\u95ee\u9898\u3002\u56e0\u6b64\u5efa\u8baeApp\u4f18\u5316\uff0c\u4e0d\u8981\u9891\u7e41\u8c03\u7528\u4ee5\u4e0a\u63a5\u53e3\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Android 10\u9690\u79c1\u6743\u53d8\u66f4\u5e94\u7528\u65e0\u6cd5\u901a\u8fc7\u4ee5\u4e0b\u65b9\u6cd5\u83b7\u53d6\u8bbe\u5907\u6807\u8bc6\u7b26\uff1a<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[46,94,160],"tags":[3383,5923,5308,862,5789,5924,49],"special":[67],"attr":[],"class_list":{"0":"post-12685","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"hentry","6":"category-appsj","7":"category-appjc","8":"category-appcs","9":"tag-android-10","11":"tag-build","12":"tag-xiaomi","13":"tag-5789","14":"tag-5924","15":"tag-yinsi","16":"special-xiaomikfpt","17":"entry"},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/posts\/12685","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/comments?post=12685"}],"version-history":[{"count":1,"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/posts\/12685\/revisions"}],"predecessor-version":[{"id":12686,"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/posts\/12685\/revisions\/12686"}],"wp:attachment":[{"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/media?parent=12685"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/categories?post=12685"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/tags?post=12685"},{"taxonomy":"special","embeddable":true,"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/special?post=12685"},{"taxonomy":"attr","embeddable":true,"href":"https:\/\/www.yimenapp.com\/kb-yimen\/wp-json\/wp\/v2\/attr?post=12685"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}