Get notified when bound client is dead

In Android, a client can bind to a Service running in a different process and even a different APK, but how could the bound service know the remote client is killed by the system and release the resources?

[Read More]

Understanding BLE throughput on Android

We have been told that the BLE can reach a throughput of 1 Mbps (or 2 Mbps with Bluetooth 5.0). But why do we always feel it’s extremely slow in practice? In this article, I will try to explain this, and how to improve throughput on Android.

[Read More]

Loopers and Handlers in Android

Looper and Handler are one of the key low-level components of Android. For example, the UI thread is built with them. However, only a few developers use them directly nowadays. In this article, we’ll try to understand how they work.

[Read More]