<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Android on zeromake 的个人博客</title><link>/categories/android/</link><description>Recent content in Android on zeromake 的个人博客</description><generator>Hugo</generator><language>zh-cn</language><lastBuildDate>Fri, 03 Jan 2025 10:01:19 +0800</lastBuildDate><atom:link href="/categories/android/index.xml" rel="self" type="application/rss+xml"/><item><title>一加 ace5 root 笔记</title><link>/pages/oneplus-ace5-root/</link><pubDate>Fri, 03 Jan 2025 08:04:00 +0800</pubDate><guid>/pages/oneplus-ace5-root/</guid><description>&lt;h2 id="前言">前言&lt;/h2>
&lt;p>最近买了一加 ace5 把 2020 年的 k30 pro 变焦版换了，买一加不买红米 k80 的原因很简单就是因为一加随便解锁 BL 而小米已经几乎不可能免费解锁 BL，这里做一下 root 笔记。&lt;/p></description></item><item><title>Android 的 aidl 相互通信机制</title><link>/pages/android-aidl/</link><pubDate>Sun, 03 Jan 2016 05:42:01 +0000</pubDate><guid>/pages/android-aidl/</guid><description>&lt;h2 id="service-使用-aidl-的与-activity-相互交互">Service 使用 aidl 的与 Activity 相互交互&lt;/h2>
&lt;h4 id="一为什么要使用-aidl">一、为什么要使用 aidl&lt;/h4>
&lt;p>原因是当我们的 Client 和 Service 不是同一个进程时是无法直接使用的，而在 android 中进程间通讯的方法有 Activity、Content Provider、Broadcast 和 Service。
其中 Activity 需要界面，隐式调用没有回调 Broadcast 的接收对象经常会重新被实例化，且以上两种都是通过 intent 传送。回调不能完成交互。
Content Provider 则只提供数据，Service 有 aidl 这门进程间调用函数的机制。&lt;/p></description></item></channel></rss>