This topic describes how to integrate HTTPDNS into applications that use the UC U4 kernel.
The UC U4 kernel is a high-performance mobile WebView solution developed by Alibaba Group. It is deeply optimized based on the Chromium kernel and offers faster page loading speeds and better compatibility than the system WebView. The kernel is widely used in applications such as Taobao and Alipay and has been validated in large-scale commercial use. For more information, see the official UC engine website.
Background
As the mobile internet grows rapidly, WebView plays an increasingly important role in Android applications. For developers who use the UC kernel, Domain Name System (DNS) resolution is a key factor that affects web security and page loading performance, even though the kernel itself provides excellent rendering. Integrating the Alibaba Cloud HTTPDNS software development kit (SDK) resolves many issues caused by Local DNS. For more information, see Benefits.
This document explains how developers who use the UC U4 kernel can integrate the HTTPDNS SDK to optimize DNS security and performance, which improves the WebView page loading experience.
Prerequisites
UC kernel version: 5.18.10.0.250813181008 or later
Android API Level: 19 or higher
Supported architectures: arm64-v8a, armeabi-v7a
The UC kernel is a commercial product. You must obtain a valid licensing key (AuthKey) to use it. To request authorization, contact UC Engine Official Authorization Service.
Integration steps
1. Integrate the UC U4 kernel
2. Integrate the HTTPDNS SDK
Summary
The integration process is straightforward. Simply add the HTTPDNS SDK dependency to your existing UC kernel setup and integrate it using the DNS hosting interface that the UC kernel provides. Thoroughly test the performance in various network environments before deploying to a production environment.