Baiqin Wang·Dec 23, 2024Jetpack Compose: Material Catalog and Compose Integration DemosThere are many sample projects available for Jetpack Compose, but some often-overlooked gems reside in the Compose source code itself. In…
InProAndroidDevbyBaiqin Wang·Dec 22, 2024Decomposing Jetpack ComposeJetpack Compose is Android’s recommended modern toolkit for building native UI. It simplifies and accelerates UI development on Android…A response icon2A response icon2
Baiqin Wang·Feb 4, 2021Binder file descriptor usagesThe RPC mechanism provided by Binder is not a good fit for certain use cases. As we know, Android framework allocates about 1 MB of…
Baiqin Wang·Feb 4, 2021Binder securityMost of the world’s authentication and authorization (auth) techniques in computer science or even in real life are either based on “who…
Baiqin Wang·Feb 4, 2021Smart pointersThe native IBinder and BpRefBase classes inherit from a base class RefBase. In the article "Binder architecture and core components" I…
Baiqin Wang·Feb 4, 2021Binder Service ManagerService Manager is a first class component in Binder that is responsible for managing all system services. A system service is a special…
Baiqin Wang·Feb 4, 2021Binder transactionThe ultimate reason of using Binder is to transfer data between processes. The action of sending data to a remote Binder for processing…
Baiqin Wang·Feb 4, 2021Binder Data ModelSimply speaking, the only thing you use Binder for is transferring data between processes. During a Binder transaction, the source process…