Google has unveiled a new cross-device software development kit (SDK) designed to enhance communication among Android apps across various device types. While Google’s initial emphasis is on encouraging developers to integrate the new SDK for cross-communication within Android devices, future plans involve extending compatibility to non-Android devices such as phones and tablets. The cross-device SDK for app developers is presently accessible, accompanied by a Developer Preview specifically tailored for Android phones and tablets.
As outlined in a Google blog post, the innovative cross-device SDK facilitates improved communication between apps on diverse Android devices by leveraging Wi-Fi, Bluetooth, and ultra-wideband technologies. The SDK empowers apps to identify nearby devices, establish secure connections through handshaking, and seamlessly transfer and extend an application’s user experience to other devices.
Implemented by app developers, this functionality enables users to initiate a task on one device and effortlessly continue on another—examples include resuming reading an ebook on a phone from the exact page left off on a tablet. The SDK also diminishes the necessity to keep an app running in the background, allowing one device to share the current state of an app with the same app on another device.
For instance, multiple individuals in a group can collectively place food orders by sharing the order through the app, eliminating the need to physically pass a phone around. Moreover, the SDK facilitates users in sharing specific map locations from their devices with a vehicle’s navigation system, streamlining the overall user interface experience.
Initially introduced at Google I/O 2022 during its Multi-device development session, the cross-platform SDK aims to alleviate the additional efforts required by developers concerning device discovery, authentication, and connection protocols. This approach allows developers to concentrate on crafting enhanced app experiences. While the cross-device SDK is currently available in a Developer Preview for Android phones and tablets, Google intends to extend compatibility to various Android devices, including smartwatches and TVs, as well as non-Android operating systems like iOS or iPadOS in the future.