Android 如何进行内部通信 | Binder IPC:Android 中无人知晓的最重要的事情……

Android 如何进行内部通信 | Binder IPC:Android 中无人知晓的最重要的事情……

Android 如何进行内部通信 | Binder IPC:Android 中没有人教你的最重要的事情” vishal 15 分钟读 · 刚刚 — 听分享 一个内核驱动程序、一本电话簿、一个传送器、一个非常偏执的保镖,以及 getSystemService() 不神奇的原因 – 它只是戴着帽子的 Binder 让我问你一些事情。

当你调用这个时: val notificationManager = getSystemService(Context。

NOTIFICATION_SERVICE) as notificationManager notificationManager。

notify(1, myNotification) Where do you think notify() actually runs。

In the NotificationManager class。

A completely separate process。

来源:Medium Programming