Saying Cross gadget SDK Developer Preview for constructing wealthy multi-device experiences on Android

0
5


Posted by Alex Rocha – Developer Relations Engineer Supervisor, Ryan Ausanka-Crues – Eng Supervisor, Multi-device growth, Stella Loh – Product Supervisor, Multi-device growth

As we speak we’re launching our Developer Preview of the brand new Cross gadget SDK for Android. First introduced throughout the Google I/O ‘22 Multi-device growth session, our Cross gadget SDK permits builders to construct wealthy multi-device experiences with a easy and intuitive set of APIs. This SDK abstracts away the intricacies concerned with working with gadget discovery, authentication, and connection protocols, permitting you to concentrate on what issues most—constructing pleasant consumer experiences and connecting these experiences throughout quite a lot of kind components and platforms.

What’s in Developer Preview

This preliminary launch incorporates a set of wealthy APIs centered across the core performance of System discovery, Safe connections, and Multi-device Periods.

  1. System discovery: Simply discover close by units, authorize peer-to-peer communication, and begin the goal software on receiving units.
  2. Safe connections: Allow encrypted, low-latency bi-directional knowledge sharing between licensed units.
  3. Multi-device Periods: Allow transferring or extending an software’s consumer expertise throughout a number of units.

In flip, it will will let you construct compelling cross-device experiences by enabling and simplifying the next use circumstances:

  • Discovering and authorizing communication with close by units.
  • Sharing an app’s present state with the identical app on one other gadget.
  • Beginning the app on a secondary gadget with out having to maintain the app operating in background.
  • Establishing safe connections for units to speak with one another.
  • Enabling process handoff the place the consumer begins a process on one gadget, and may simply proceed on one other gadget.

Beginning at this time with a Developer Preview for Android telephones and tablets, the Cross gadget SDK can be out there later for different Android surfaces and non-Android OSs.

Underneath The Hood

The Cross gadget SDK gives a software program abstraction layer that handles all facets of cross-device connectivity, leveraging wi-fi applied sciences resembling Bluetooth, Wi-Fi, and Extremely-wide band; our SDK does all of the heavy-lifting underneath the hood, providing you a modular,connectivity-agnostic API that helps bi-directional communication between units and is backward suitable to Android 8. As well as, apps is not going to must declare or request Runtime Permissions for any of the underlying connectivity protocols used (resembling BLUETOOTH_CONNECT, BLUETOOTH_SCAN, ACCESS_FINE_LOCATION, and so forth.), and the consumer can permit apps to connect with solely the gadget(s) they chose.

Getting began with Developer Preview

Head over to our developer information to get began and check out the Developer Preview of the Cross gadget SDK for Android. Ensure to take a look at our Rock Paper Scissor pattern app (Kotlin and Java) on GitHub for an illustration on work with the assorted APIs and our Google I/O ‘22 Multi-device growth session for a basic overview of the SDK.

Suggestions

We’d love to listen to from you throughout this preliminary Developer Preview launch to assist us form the SDK and affect future roadmapping, so please share your suggestions and tell us your expertise with the SDK!

LEAVE A REPLY

Please enter your comment!
Please enter your name here