Android Jetpack Wear OS Libraries Now Stable |
Written by Kay Ewbank | |||
Friday, 17 September 2021 | |||
The first set of stable Android Jetpack Wear OS libraries are now available, covering wear, wear-input, wear-ongoing, wear-phone-interactions, and wear-remote-interactions. Android Jetpack is a suite of libraries for use in app development designed to reduce boilerplate code. Mike James sums Jetpack up like this: "At first Jetpack was a sort of cleaning up of the mess that we already had, but it slowly evolved into a complete takeover attempt. What do you want to do -- there's a Jetpack solution for that..." Looking specifically at the Wear OS side of the equation, Wear OS is based on Android, but is optimized for apps on Google smart watches, so designed to be viewed on user's wrists. The Android Jetpack Wear OS libraries are replacements for the old Wearable Support library with better support for Wear OS 3.0. Android Jetpack components are a collection of libraries that can be used separately but that are built to work together and to take advantage of Kotlin language features for productivity. The wear library can be used to lay out elements in an arch to support round watches and to curved text following the curvature of a device.The wear-input library can be used to identify and interact with hardware buttons on the Wear OS device, and wear-ongoing brings notifications to the wear specific surfaces. The wear phone interactions library detects the type of phone a watch is paired with (iOS or Android) and handles all the notification bridging options. Finally, the wear remote interactions opens Android intents on other devices, for example, when a user wants the app on both the phone and watch. The other libraries in the suite, specifically the Watch Face and Complications libraries are in alpha and will be released as stable later this year. Once that launches, the Wearable Support Library will officially be deprecated. The new libraries are available for download now.
More InformationWear Release On Android Developer Site Related ArticlesJetpack Compose Is 1.0 And Ready For Use Android Jetpack Confusion As V1 Approaches Android Jetpack Compose Is Welcome, But What About The Churn? Android Development - Constant Churn Android Studio 4.1 - No Relief In Sight Android Studio 4 - Not One Giant Leap For Android Programming Android Studio 3.4 - Trying Hard But No Bouquets Android Studio 3.3 - Trying Harder? Android Studio 3.2 Released - More Cruft Than Substance JetPack And Android Studio 3.2 - Not Much New
To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.
Comments
or email your comment to: comments@i-programmer.info |
|||
Last Updated ( Friday, 17 September 2021 ) |