{"id":102850,"date":"2026-09-09T15:41:04","date_gmt":"2026-09-09T07:41:04","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/102850.html"},"modified":"2026-09-09T15:41:04","modified_gmt":"2026-09-09T07:41:04","slug":"%e4%b8%8d%e7%94%a8-aidl%ef%bc%8c%e6%89%8b%e6%8a%8a%e6%89%8b%e6%95%99%e4%bd%a0%e6%89%8b%e5%86%99-binder-%e4%bb%a3%e7%90%86%e7%b1%bb","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/102850.html","title":{"rendered":"\u4e0d\u7528 AIDL\uff0c\u624b\u628a\u624b\u6559\u4f60\u624b\u5199 Binder \u4ee3\u7406\u7c7b"},"content":{"rendered":"<p>\u524d\u8a00\uff1a \u5728\u65e5\u5e38 Android \u5f00\u53d1\u4e2d\uff0c\u6211\u4eec\u4e60\u60ef\u4e86\u7528 AIDL \u6765\u5b9a\u4e49\u8de8\u8fdb\u7a0b\u63a5\u53e3\u3002\u4f46 AIDL \u672c\u8d28\u4e0a\u53ea\u662f\u4e00\u4e2a\u4ee3\u7801\u751f\u6210\u5de5\u5177\uff0c\u5b83\u81ea\u52a8\u751f\u6210\u7684 Stub \u548c Proxy \u7c7b\u5b8c\u5168\u53ef\u4ee5\u624b\u5199\u3002\u7406\u89e3\u624b\u5199 Binder \u7684\u8fc7\u7a0b\uff0c\u80fd\u5e2e\u52a9\u4f60\u6df1\u5165\u638c\u63e1 Android IPC \u673a\u5236\u7684\u6838\u5fc3\u539f\u7406\u3002<\/p>\n<hr>\n<h3>\u4e00\u3001Binder \u901a\u4fe1\u6574\u4f53\u67b6\u6784<\/h3>\n<p>\u5728\u5f00\u59cb\u624b\u5199\u4ee3\u7801\u4e4b\u524d\uff0c\u6211\u4eec\u5148\u641e\u6e05\u695a Binder \u901a\u4fe1\u7684\u6838\u5fc3\u89d2\u8272\u3002\u4e00\u6b21\u5b8c\u6574\u7684\u8de8\u8fdb\u7a0b\u8c03\u7528\uff0c\u6d89\u53ca\u56db\u4e2a\u5173\u952e\u7ec4\u4ef6\uff1a<\/p>\n<p>\u5ba2\u6237\u7aef App<br \/>\n &nbsp;  \u2193 transact()<br \/>\nProxy\uff08\u4ee3\u7406\u7c7b\uff09<br \/>\n &nbsp;  \u2193 Binder Driver<br \/>\nStub\uff08\u5b58\u6839\u7c7b\uff09<br \/>\n &nbsp;  \u2193 onTransact()<br \/>\n\u670d\u52a1\u7aef\u5b9e\u73b0<\/p>\n<p>\ud83d\udca1 \u6838\u5fc3\u539f\u7406\uff1a Proxy \u8d1f\u8d23\u628a\u65b9\u6cd5\u8c03\u7528\u300c\u6253\u5305\u300d\u6210 Parcel \u6570\u636e\uff0c\u901a\u8fc7 Binder \u9a71\u52a8\u53d1\u9001\u5230\u670d\u52a1\u7aef\uff1bStub \u8d1f\u8d23\u300c\u89e3\u5305\u300dParcel\uff0c\u8c03\u7528\u771f\u6b63\u7684\u4e1a\u52a1\u5b9e\u73b0\uff0c\u518d\u628a\u7ed3\u679c\u300c\u6253\u5305\u300d\u8fd4\u56de\u7ed9\u5ba2\u6237\u7aef\u3002<\/p>\n<hr>\n<h3>\u4e8c\u3001\u9879\u76ee\u7ed3\u6784\u51c6\u5907<\/h3>\n<p>\u672c\u6587\u7684\u793a\u4f8b\u5206\u4e3a\u670d\u52a1\u7aef\u548c\u5ba2\u6237\u7aef\u4e24\u4e2a\u6a21\u5757\u3002\u624b\u5199 Binder \u4e0d\u9700\u8981 AIDL \u6587\u4ef6\uff0c\u4f46\u9700\u8981\u624b\u52a8\u7ef4\u62a4\u63a5\u53e3\u4e00\u81f4\u6027\u3002<\/p>\n<p>\ud83d\udcc1 server (\u670d\u52a1\u7aef)<br \/>\n  \ud83d\udcc4 IMyManualService.java \u2014 \u63a5\u53e3\u5b9a\u4e49<br \/>\n  \ud83d\udcc4 MyManualServiceStub.java \u2014 \u5b58\u6839\u62bd\u8c61\u7c7b<br \/>\n  \ud83d\udcc4 MyManualServiceProxy.java \u2014 \u4ee3\u7406\u5b9e\u73b0\u7c7b<br \/>\n  \ud83d\udcc4 ManualBinderService.java \u2014 \u670d\u52a1\u7aef Service<br \/>\n\u200b<br \/>\n\ud83d\udcc1 client (\u5ba2\u6237\u7aef)<br \/>\n  \ud83d\udcc4 MainActivity.kt \u2014 \u7ed1\u5b9a\u670d\u52a1\u5e76\u8c03\u7528<\/p>\n<p>\u26a0\ufe0f \u6ce8\u610f\u4e8b\u9879\uff1a \u5ba2\u6237\u7aef\u9700\u8981\u5c06 IMyManualService\u3001MyManualServiceStub\u3001MyManualServiceProxy \u8fd9\u4e09\u4e2a\u6587\u4ef6\u539f\u6837\u590d\u5236\u5230\u5ba2\u6237\u7aef\u5de5\u7a0b\u4e2d\uff0c\u4fdd\u8bc1\u4e24\u7aef\u63a5\u53e3\u5b8c\u5168\u4e00\u81f4\u3002<\/p>\n<hr>\n<h3>\u4e09\u3001\u5b9a\u4e49\u63a5\u53e3\uff1aIMyManualService<\/h3>\n<p>\u9996\u5148\u5b9a\u4e49 AIDL \u4e2d\u5e38\u89c1\u7684 IInterface \u63a5\u53e3\u3002\u8fd9\u4e2a\u63a5\u53e3\u5305\u542b\u4e24\u4e2a\u6838\u5fc3\u8981\u7d20\uff1a<\/p>\n<ul>\n<li>DESCRIPTOR\uff1aBinder \u670d\u52a1\u7684\u552f\u4e00\u6807\u8bc6\u7b26\uff0c\u7528\u4e8e\u5ba2\u6237\u7aef\u67e5\u8be2\u672c\u5730\u63a5\u53e3<\/li>\n<li>\u4e1a\u52a1\u65b9\u6cd5\uff1a\u5b9a\u4e49\u670d\u52a1\u7aef\u66b4\u9732\u7ed9\u5ba2\u6237\u7aef\u8c03\u7528\u7684\u65b9\u6cd5<\/li>\n<\/ul>\n<h4>IMyManualService.java<\/h4>\n<p>package com.qhsoft.foodsafety.module;<br \/>\n\u200b<br \/>\nimport android.os.IInterface;<br \/>\nimport android.os.RemoteException;<br \/>\n\u200b<br \/>\npublic interface IMyManualService extends IInterface {<br \/>\n &nbsp; &nbsp;\/\/ \u552f\u4e00\u6807\u8bc6\u7b26\uff0c\u7528\u4e8e\u533a\u5206\u4e0d\u540c\u7684 Binder \u670d\u52a1<br \/>\n &nbsp; &nbsp;\/\/ \u8fd9\u4e2a\u5b57\u7b26\u4e32\u5fc5\u987b\u5168\u5c40\u552f\u4e00\uff0c\u5efa\u8bae\u7528\u5305\u540d+\u63a5\u53e3\u540d\u7684\u5168\u9650\u5b9a\u540d<br \/>\n &nbsp; &nbsp;String DESCRIPTOR = \\&#8221;com.qhsoft.foodsafety.module.IMyManualService\\&#8221;;<br \/>\n\u200b<br \/>\n &nbsp; &nbsp;\/\/ \u5b9a\u4e49\u8fdc\u7a0b\u65b9\u6cd5\uff1a\u4e24\u6570\u76f8\u52a0<br \/>\n &nbsp; &nbsp;int add(int a, int b) throws RemoteException;<br \/>\n\u200b<br \/>\n &nbsp; &nbsp;\/\/ \u5b9a\u4e49\u8fdc\u7a0b\u65b9\u6cd5\uff1a\u6253\u62db\u547c<br \/>\n &nbsp; &nbsp;String sayHello(String name) throws RemoteException;<br \/>\n}<\/p>\n<p>\ud83d\udca1 \u4e3a\u4ec0\u4e48\u7ee7\u627f IInterface\uff1f IInterface \u662f Android \u4e3a Binder \u63a5\u53e3\u5b9a\u4e49\u7684\u57fa\u7840\u63a5\u53e3\uff0c\u5b83\u53ea\u6709\u4e00\u4e2a\u65b9\u6cd5 asBinder()\uff0c\u7528\u4e8e\u83b7\u53d6\u5e95\u5c42\u7684 IBinder \u5bf9\u8c61\u3002\u6240\u6709 AIDL \u751f\u6210\u7684\u63a5\u53e3\u90fd\u7ee7\u627f\u81ea\u5b83\u3002<\/p>\n<hr>\n<h3>\u56db\u3001\u624b\u5199 Stub\uff1aMyManualServiceStub<\/h3>\n<p>Stub \u662f Binder \u901a\u4fe1\u7684\u670d\u52a1\u7aef\u5165\u53e3\u3002\u5b83\u7ee7\u627f Binder \u5e76\u5b9e\u73b0\u81ea\u5b9a\u4e49\u63a5\u53e3\uff0c\u8d1f\u8d23\u63a5\u6536\u5ba2\u6237\u7aef\u53d1\u6765\u7684\u8bf7\u6c42\uff0c\u5e76\u5206\u53d1\u7ed9\u5177\u4f53\u7684\u4e1a\u52a1\u5b9e\u73b0\u3002<\/p>\n<h4>Stub \u7684\u6838\u5fc3\u804c\u8d23<\/h4>\n<li>\u5b9a\u4e49\u4e8b\u52a1\u7801\uff08TRANSACTION_code\uff09\uff0c\u6bcf\u4e2a\u65b9\u6cd5\u5bf9\u5e94\u4e00\u4e2a\u552f\u4e00\u6574\u578b ID<\/li>\n<li>\u5b9e\u73b0 asInterface()\uff0c\u5224\u65ad\u540c\u8fdb\u7a0b\u8fd8\u662f\u8de8\u8fdb\u7a0b<\/li>\n<li>\u91cd\u5199 onTransact()\uff0c\u89e3\u6790\u5ba2\u6237\u7aef\u6570\u636e\u5e76\u8c03\u7528\u672c\u5730\u5b9e\u73b0<\/li>\n<h4>MyManualServiceStub.java<\/h4>\n<p>package com.qhsoft.foodsafety.module;<br \/>\n\u200b<br \/>\nimport android.os.Binder;<br \/>\nimport android.os.IBinder;<br \/>\nimport android.os.IInterface;<br \/>\nimport android.os.Parcel;<br \/>\nimport android.os.RemoteException;<br \/>\n\u200b<br \/>\npublic abstract class MyManualServiceStub extends Binder implements IMyManualService {<br \/>\n\u200b<br \/>\n &nbsp; &nbsp;\/\/ \u4e8b\u52a1\u7801\uff1a\u5ba2\u6237\u7aef\u548c\u670d\u52a1\u7aef\u5fc5\u987b\u5b8c\u5168\u4e00\u81f4<br \/>\n &nbsp; &nbsp;\/\/ \u8fd9\u91cc\u7684 1\u30012 \u5c31\u662f\u65b9\u6cd5\u7684\\&#8221;\u8eab\u4efd\u8bc1\\&#8221;<br \/>\n &nbsp; &nbsp;static final int TRANSACTION_add = 1;<br \/>\n &nbsp; &nbsp;static final int TRANSACTION_sayHello = 2;<br \/>\n\u200b<br \/>\n &nbsp; &nbsp;public MyManualServiceStub() {<br \/>\n &nbsp; &nbsp; &nbsp; &nbsp;\/\/ \u5c06\u5f53\u524d Binder \u5bf9\u8c61\u548c\u63cf\u8ff0\u7b26\u7ed1\u5b9a<br \/>\n &nbsp; &nbsp; &nbsp; &nbsp;\/\/ \u8fd9\u6837\u5ba2\u6237\u7aef queryLocalInterface \u65f6\u624d\u80fd\u627e\u5230\u5b83<br \/>\n &nbsp; &nbsp; &nbsp; &nbsp;this.attachInterface(this, DESCRIPTOR);<br \/>\n &nbsp;  }<br \/>\n\u200b<br \/>\n &nbsp; &nbsp;@Override<br \/>\n &nbsp; &nbsp;public IBinder asBinder() {<br \/>\n &nbsp; &nbsp; &nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u8a00\uff1a \u5728\u65e5\u5e38 Android \u5f00\u53d1\u4e2d\uff0c\u6211\u4eec\u4e60\u60ef\u4e86\u7528 AIDL \u6765\u5b9a\u4e49\u8de8\u8fdb\u7a0b\u63a5\u53e3\u3002\u4f46 AIDL \u672c\u8d28\u4e0a\u53ea\u662f\u4e00\u4e2a\u4ee3\u7801\u751f\u6210\u5de5\u5177\uff0c\u5b83\u81ea\u52a8\u751f\u6210\u7684 Stub \u548c Proxy \u7c7b\u5b8c\u5168\u53ef\u4ee5\u624b\u5199\u3002\u7406\u89e3\u624b\u5199 Binder \u7684\u8fc7\u7a0b\uff0c\u80fd\u5e2e\u52a9\u4f60\u6df1\u5165\u638c\u63e1 Android IPC \u673a\u5236\u7684\u6838\u5fc3\u539f\u7406\u3002 \u4e00\u3001Binder \u901a\u4fe1\u6574\u4f53\u67b6\u6784<br \/>\n\u5728\u5f00\u59cb\u624b\u5199\u4ee3\u7801\u4e4b\u524d\uff0c\u6211\u4eec\u5148\u641e\u6e05\u695a Binder \u901a\u4fe1\u7684\u6838\u5fc3\u89d2\u8272\u3002\u4e00\u6b21\u5b8c\u6574\u7684\u8de8\u8fdb\u7a0b\u8c03\u7528\uff0c\u6d89\u53ca\u56db\u4e2a\u5173\u952e\u7ec4\u4ef6\uff1a<br \/>\n\u5ba2\u6237\u7aef App   \u2193 transact()<br \/>\nProxy\uff08\u4ee3\u7406\u7c7b\uff09<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[7333,84,99,1693],"topic":[],"class_list":["post-102850","post","type-post","status-publish","format-standard","hentry","category-server","tag-binder","tag-android","tag-java","tag-kotlin"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u4e0d\u7528 AIDL\uff0c\u624b\u628a\u624b\u6559\u4f60\u624b\u5199 Binder \u4ee3\u7406\u7c7b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/102850.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u4e0d\u7528 AIDL\uff0c\u624b\u628a\u624b\u6559\u4f60\u624b\u5199 Binder \u4ee3\u7406\u7c7b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u524d\u8a00\uff1a \u5728\u65e5\u5e38 Android \u5f00\u53d1\u4e2d\uff0c\u6211\u4eec\u4e60\u60ef\u4e86\u7528 AIDL \u6765\u5b9a\u4e49\u8de8\u8fdb\u7a0b\u63a5\u53e3\u3002\u4f46 AIDL \u672c\u8d28\u4e0a\u53ea\u662f\u4e00\u4e2a\u4ee3\u7801\u751f\u6210\u5de5\u5177\uff0c\u5b83\u81ea\u52a8\u751f\u6210\u7684 Stub \u548c Proxy \u7c7b\u5b8c\u5168\u53ef\u4ee5\u624b\u5199\u3002\u7406\u89e3\u624b\u5199 Binder \u7684\u8fc7\u7a0b\uff0c\u80fd\u5e2e\u52a9\u4f60\u6df1\u5165\u638c\u63e1 Android IPC \u673a\u5236\u7684\u6838\u5fc3\u539f\u7406\u3002 \u4e00\u3001Binder \u901a\u4fe1\u6574\u4f53\u67b6\u6784 \u5728\u5f00\u59cb\u624b\u5199\u4ee3\u7801\u4e4b\u524d\uff0c\u6211\u4eec\u5148\u641e\u6e05\u695a Binder \u901a\u4fe1\u7684\u6838\u5fc3\u89d2\u8272\u3002\u4e00\u6b21\u5b8c\u6574\u7684\u8de8\u8fdb\u7a0b\u8c03\u7528\uff0c\u6d89\u53ca\u56db\u4e2a\u5173\u952e\u7ec4\u4ef6\uff1a \u5ba2\u6237\u7aef App  \u2193 transact() Proxy\uff08\u4ee3\u7406\u7c7b\uff09\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/102850.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-09-09T07:41:04+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\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\" \/>\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\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/102850.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/102850.html\",\"name\":\"\u4e0d\u7528 AIDL\uff0c\u624b\u628a\u624b\u6559\u4f60\u624b\u5199 Binder \u4ee3\u7406\u7c7b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-09-09T07:41:04+00:00\",\"dateModified\":\"2026-09-09T07:41:04+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/102850.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/102850.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/102850.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u4e0d\u7528 AIDL\uff0c\u624b\u628a\u624b\u6559\u4f60\u624b\u5199 Binder \u4ee3\u7406\u7c7b\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u4e0d\u7528 AIDL\uff0c\u624b\u628a\u624b\u6559\u4f60\u624b\u5199 Binder \u4ee3\u7406\u7c7b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","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":"https:\/\/www.wsisp.com\/helps\/102850.html","og_locale":"zh_CN","og_type":"article","og_title":"\u4e0d\u7528 AIDL\uff0c\u624b\u628a\u624b\u6559\u4f60\u624b\u5199 Binder \u4ee3\u7406\u7c7b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u524d\u8a00\uff1a \u5728\u65e5\u5e38 Android \u5f00\u53d1\u4e2d\uff0c\u6211\u4eec\u4e60\u60ef\u4e86\u7528 AIDL \u6765\u5b9a\u4e49\u8de8\u8fdb\u7a0b\u63a5\u53e3\u3002\u4f46 AIDL \u672c\u8d28\u4e0a\u53ea\u662f\u4e00\u4e2a\u4ee3\u7801\u751f\u6210\u5de5\u5177\uff0c\u5b83\u81ea\u52a8\u751f\u6210\u7684 Stub \u548c Proxy \u7c7b\u5b8c\u5168\u53ef\u4ee5\u624b\u5199\u3002\u7406\u89e3\u624b\u5199 Binder \u7684\u8fc7\u7a0b\uff0c\u80fd\u5e2e\u52a9\u4f60\u6df1\u5165\u638c\u63e1 Android IPC \u673a\u5236\u7684\u6838\u5fc3\u539f\u7406\u3002 \u4e00\u3001Binder \u901a\u4fe1\u6574\u4f53\u67b6\u6784 \u5728\u5f00\u59cb\u624b\u5199\u4ee3\u7801\u4e4b\u524d\uff0c\u6211\u4eec\u5148\u641e\u6e05\u695a Binder \u901a\u4fe1\u7684\u6838\u5fc3\u89d2\u8272\u3002\u4e00\u6b21\u5b8c\u6574\u7684\u8de8\u8fdb\u7a0b\u8c03\u7528\uff0c\u6d89\u53ca\u56db\u4e2a\u5173\u952e\u7ec4\u4ef6\uff1a \u5ba2\u6237\u7aef App  \u2193 transact() Proxy\uff08\u4ee3\u7406\u7c7b\uff09","og_url":"https:\/\/www.wsisp.com\/helps\/102850.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-09-09T07:41:04+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/102850.html","url":"https:\/\/www.wsisp.com\/helps\/102850.html","name":"\u4e0d\u7528 AIDL\uff0c\u624b\u628a\u624b\u6559\u4f60\u624b\u5199 Binder \u4ee3\u7406\u7c7b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-09-09T07:41:04+00:00","dateModified":"2026-09-09T07:41:04+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/102850.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/102850.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/102850.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u4e0d\u7528 AIDL\uff0c\u624b\u628a\u624b\u6559\u4f60\u624b\u5199 Binder \u4ee3\u7406\u7c7b"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/102850","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=102850"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/102850\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=102850"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=102850"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=102850"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=102850"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}