The Wi-Fi architecture

As we know from previous chapters, Android applications use managers to access system services. The managers will use various system services to access Hardware Abstraction Layer (HAL). The Wi-Fi architecture also follows the same approach for applications to access Wi-Fi hardware.

Android Wi-Fi architecture

As we can see from the preceding diagram showing Wi-Fi layers in the Android system, WifiSettings is the application in the default AOSP build used to control Wi-Fi connections. WifiSettings uses WifiManager to get access to Wi-Fi services.

WifiManager provides the following functionalities:

  • Providing a list of ...

Get Android System Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.