Apps

Put on OS 4 is now secure and out there on Google Pixel Watch 2!


Posted by Kseniia Shumelchyk, Android Developer Relations Engineer and Kevin Hufnagle, Android Technical Author

Google Pixel Watch 2 is right here and brings the capabilities of Put on OS 4 to customers; get your app prepared for the newest software program and units!

We’re excited to carry Wear OS 4 and new person experiences to extra units, together with the brand new Google Pixel Watch 2! We’re additionally offering up to date developer instruments so that you can put together your apps for Put on OS 4.

Pixel Watch 2, announced at Made by Google, will help Put on OS 4 upon its launch this month. Put on OS 4 brings options and enhancements that will help you ship extra partaking and pleasant experiences in your app.

Image of three watch faces created using the Watch Face Format

Later this 12 months, Pixel Watches will obtain a system replace to Put on OS 4, additional increasing the set of customers who can get pleasure from your app’s capabilities on the newest software program.

Builders can even proceed to make use of Samsung Galaxy Watches to check their apps on Put on OS 4.

The newest model of Put on OS gives a number of capabilities that make it simpler to develop reliable, useful wearable experiences:

Watch Face Format

Created in partnership with Samsung, the Watch Face Format is a declarative XML format that permits you to design the looks and conduct of watch faces. There is no such thing as a executable code concerned in making a watch face utilizing the Watch Face Format, and there might be no code embedded in your watch face APK.

The Put on OS platform takes care of the logic wanted to render the watch face that makes use of the Watch Face Format. Which means you don’t have to fret about code optimizations or battery efficiency. We advocate that you just create your watch face utilizing the Watch Face Format.

Image of three watch faces created using the Watch Face Format

Watch faces created utilizing the Watch Face Format

Extra seamless knowledge switch

On units that help cloud backup—together with Pixel Watch 2 and Pixel Watch—customers can switch knowledge from one Put on OS watch to a different utilizing a cloud backup and restore course of. You possibly can customise the set of recordsdata in your app that the system ought to embody in a cloud backup, in order that customers solely restore app knowledge that’s significant to them.

Moreover, Put on OS 4 permits customers to switch their watch to a brand new telephone without having to carry out a manufacturing facility reset on the watch. They full this course of when organising the brand new telephone, as proven within the following move beneath.

In case your app shops person configuration knowledge for the watch on the outdated telephone, you’ll be able to enable the system to switch this app knowledge onto the brand new telephone too. The information on the right way to transfer Wear OS data to a new mobile device has extra particulars.

ALT TEXT

The user-facing course of for transferring watch knowledge onto a brand new telephone, when the person first connects the brand new telephone to the watch. This instance reveals the expertise when the person initiates the info switch from the outdated telephone.

Enhanced Tiles

Put on OS 4 gives enhanced capabilities on your app’s tiles. Version 1.2 of the Jetpack Tiles library introduces help for platform data bindings and animations, so you’ll be able to present much more responsive experiences to your customers.

Moving images of animated tile on the left and a tile using data binding on the right

Watch faces created utilizing the Watch Face FormatExamples of animated tile (on the left) and a tile utilizing knowledge binding (on the suitable)

Get your app prepared for Put on OS 4

Put on OS 4 is predicated on Android 13, which is a number of variations newer than the present Put on OS model, so your app might want to deal with the system conduct adjustments that take impact in Android 12 and Android 13.

Learn the developer documentation to find key behavior changes and learn to work together with new features. We advocate you begin by testing your app and releasing a suitable replace, so that you just’re prepared when the primary units get upgraded to Put on OS 4. This offers your app a primary however vital stage of high quality that gives a great expertise for customers.

Put on OS 4 emulator

Immediately we’ve additionally launched up to date system pictures for Wear OS emulators, out there beginning in Android Studio Hedgehog to assist take a look at your apps on Put on OS 4.

The brand new Put on OS 4 emulator doesn’t support native 32-bit code, so in case your app makes use of native code, ensure that it contains each 32-bit and 64-bit native libraries. This may also put together your app for upcoming 64-bit solely {hardware}.

Be taught extra

To start creating apps for Put on OS, attempt our Compose for Wear OS codelab, and take a look at the documentation and samples.

Uncover much more! View the Wear OS session from Google I/O, and browse in regards to the newest Jetpack releases for Put on OS.

There’s by no means been a greater time to get your app prepared for Put on OS 4 and all the newest Put on OS watches. We are able to’t wait to see your apps on Put on OS 4 and what experiences you’ll construct!

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button