Tag Archives: Platform_Updates

Platform Track at Android Developer Summit ’22

Posted by Dan Galpin (@dagalpin), Developer Relations EngineerToday marks the final track for Android Developer Summit: the Platform Track, focused on developer features and guidance around Android 13. With your help, we're making the platform more private and secure, more personal, and more capable than ever. Tune into the livestream and watch the full playlist on YouTube! And if you’ve got any burning questions, be sure to Tweet them using #AskAndroid; at the end of our livestream, we’ll be assembling the Android experts to help answer them live; tune in at 12:30PM to see if we answer your question live! Here are the top 3 takeaways from the Platform track, and be sure to watch the full Platform session playlist on YouTube:

#1 – Security and Privacy

The first step to take advantage of Android 13's new security and privacy features is to Migrate Your Apps to Android 13, making sure that your app not only works great but also takes advantage of some of the new stuff Android 13 has to offer. We also cover what's Next Up on the Privacy Sandbox, Everything about Storage on Android, Demystifying Attestation, and how to Foster User Trust by Adopting Privacy-respecting Permission Workflows.The Photo Picker is an example of an easy to use API that gives users a great photo and video selection experience while minimizing app permissions. The rich Photo Picker experience will be supported back to Android 11 using an SDK Extension, a technology that uses Google System Updates with Modular System Components to add functionality to an OS release.
Photo Picker
Easy to integrate
A great user experience for browsing and selecting photos and videos
No runtime permissions
Updated independently of the platform
Cloud integration coming soon!

#2 – Personalization

When it comes to personalization, we teach Building for a Multilingual World, Building Modern Android App WidgetsDesigning a High Quality App with the Latest Android Features, and Building Accessibility Support for Compose — all ways that help make sure that your apps support the way your users use their devices.

Themed app icons allow your app icon to harmonize with user-selected theme colors, while Widgets allow users to literally use your app as part of their customized experience.
Themed app icons
App icons in supported launchers are tinted to inherit theme colors.
Requires apps to have both an adaptive icon and a monochromatic app icon

#3 – Capabilities

We're extending the capabilities of the platform to support the latest media and communications standards and more, so we're walking you through Presenting a High-quality Media Experience for all Users, Improving Your Social Experience Quality with Android Camera, how to handle Capture, Playback, and Sharing 10BIT Video, supporting BLE Audio in your Voice Communications Applications, an Introduction to Ultrawide-band on Android, the latest in Android Graphics, how to start Syncing Data with Health Connect, and implementing Hardware Acceleration for ML on-device. We even shared how to Migrate to Play Billing Library 5 and what it does to make subscriptions more flexible on Google Play.

To learn more about how you can secure your app, maximize user privacy, make your app part of a more personal Android, leverage new platform capabilities, and more, check out the full playlist.

Coming up next for Android Dev Summit ‘22: The Platform track, on November 14!

Posted by Daniel Galpin (@dagalpin), Developer Relations Engineer On Monday, November 14, we kick off the final of three tracks for Android Dev Summit with the Platform track! This track includes almost 20 talks focused on developer features and guidance around Android 13, and how, together with your help, we're making the platform more private and secure, more personal, and more capable than ever. We dropped information on the livestream agenda, technical talks, and speakers — so start planning your schedule!
Platform Track @ Android Dev Summit
November 14, 2022 at 9:00 AM PT
Sessions
All times in PT
9:50 AM
9:20 AM
9:35 AM
9:00 AM
Migrate Your Apps to Android 13
Designing a High Quality App with the Latest Android Features
Building for a Multilingual World
Improving Your Social Experience Quality with Android Camera
10:10 AM
HDR 10BIT: Capture, Playback, and Sharing 10BIT Video
10:15 AM Foster User Trust by Adopting Privacy-respecting Permission
Workflows
10:28 AM
10:38 AM Presenting a High-quality Media Experience for all Users
Next Up on the Privacy Sandbox
10:58 AM
11:13 AM
Building Accessibility Support for Compose
Hardware Acceleration for ML on-device
11:27 AM Android Graphics
11:44 AM
Migrate to Play Billing Library 5 - More flexible subscriptions on Google Play
Demystifying Attestation
11:59 AM
12:14 AM
Supporting BLE Audio in Your Voice Communication Applications
12:24 PM
Building Modern Android App Widgets
12:33 PM #AskAndroid
12:52 PM
Everything About Storage on Android
1:05 PM
Keep your App From Failing in a 64-bit Only World
1:13 PM
Syncing Data with Health Connect
1:20 PM Introduction to Ultrawide-band on Android
Broadcast live on d.android.com/dev-summit & YouTube

Here’s what to expect on November 14th:

Get ready for all things platform! We’re kicking the livestream off at 9:00 AM PT on November 14th on YouTube and developer.android.com, where you’ll be able to watch almost 20 sessions, with talks such as:

  • Migrate your Apps to Android 13
  • Foster User Trust by Adopting Privacy-respecting Permission Workflows
  • Building for a Multilingual World
  • Android Graphics
  • Improving Your Social Experience Quality with Android Camera

And at approximately 12:30 PM PST, we’ll be hosting a live Q&A – #AskAndroid - so you can get your burning platform questions answered live by the team who built Android. Post your questions to Twitter or comment in the YouTube livestream using #AskAndroid for a chance to have your questions answered on the livestream.

Check out our previous tracks: Modern Android Development and Form Factors.

The Platform track is our third and final track for Android Dev Summit ‘22. Missed the earlier moments? You can still catch up on all of the content: watch the keynote on YouTube and check out the keynote recap so you don’t miss a beat! Plus, get up to speed on all things Modern Android Development with a recap video, blog, and the full MAD playlist where you can find case studies and technical sessions, as well as the recap for Form Factors and the full Form Factors session playlist.

We’re so excited for all the great content yet to come from Android Dev Summit, and we’re looking forward to connecting with you!

Announcing Compose for Wear OS Beta!

Posted by Kseniia Shumelchyk, Developer Relations Engineer, and John Nichol, Tech Lead of Compose for Wear OS

Wear OS watch with blue background 

Today we’re launching the Beta release of Compose for Wear OS, our modern declarative UI toolkit designed to help developers create beautiful user experiences for Wear OS.

Compose for Wear OS adds support for watch optimized components that embrace the latest Material design for Wear OS. The components are built on top of core Compose libraries and the toolkit leverages Modern Android Development, helping accelerate the development process as a whole.

With this Beta release, Compose for Wear OS is feature complete for the 1.0 release coming later this year, and has what you need to build production-ready apps. It also means the API is stable; moving forward we'll focus on performance and polishing existing components for the 1.0 release.


In the Beta

We’ve been hard at work since last I/O to bring the best of Jetpack Compose to Wear OS, engaging with the community via Slack, gathering developer feedback on APIs, components and tooling. As a result, we’ve improved a number of components such as navigation, scaling lazy lists, input and gesture support and much more.

The first Beta release follows 21 alpha releases. The major changes since the Developer Preview announcement include:


? Input components

You asked for user input components, so we’ve added different composables that you can tailor for your watch app:

GIF of picker, slider, and stepper options
  • Picker lets the user select an item from a scrolling list. By default, the list of selectable items is repeated 'infinitely' in both directions, to give the impression of a rotating cylinder seen from the side. Interestingly, Picker uses ScalingLazyColumn implementation underneath and has helped to develop and hone a lot of advanced ScalingLazyColumn features.
  • Slider allows users to make a selection from a range of values and is ideal for adjusting settings like font size or brightness.
  • Stepper is a full-screen control component that allows users to make a selection from a range of values. For example, users can control the volume of their headphones.

? Dialogs

We’ve added full-screen Alert and Confirmation composables that can be used as either navigation destinations or traditional full-screen Dialogs, which will be layered over any other content. Dialog supports swipe-to-dismiss and will reveal the parent content in the background during the swipe gesture.

GIF of watch face showing playlist options

For consistency with Scaffold, a full-screen dialog displays a PositionIndicator and a Vignette.


? Progress Indicator

We added CircularProgressIndicator, a progress indicator optimized for watch screens to display progress by animating an indicator along a circular track in a clockwise direction.

GIF of watch face showing timer

​​There are several options for how CircularProgressIndicator can be used: either to show infinite progress or to express the proportion of completion of an ongoing task. Progress Indicators allow a gap in the circular track which leaves room for other content, for instance TimeText if used in full-screen.


? Page Indicator

To help you implement pagination, the UI toolkit provides a HorizontalPageIndicator component that represents the total number of pages and selected page.

GIF of watch face showing page indicator

Depending on the screen shape, the HorizontalPageIndicator will provide a form factor- specific visual indication of which page is active and how far through the pages it is.


Improvements

  • ScalingLazyColumn: improved the default behavior to be consistent with Material design for Wear OS, such as updating the scaling parameters, default extra padding and taking the size from the size of its contents.
  • Scaffold: added PageIndicator slot to guarantee correct positioning on the round screen.
  • Navigation: ensured feature parity with Compose Navigation and adding support for edge swiping to enable a great experience on full-screen and page scrolling.
  • Curved elements: added CurvedModifiers and a new DSL which enables developers to use concepts that make sense for a curved world like radial, angular, sweep, (anti-) clockwise, inner/outer. CurvedLayout is the bridge between the linear and curved worlds and curvedComposable can be used to introduce traditional composable components when it makes sense to do so.

With these recent additions, the Compose Material catalog for Wear OS now has more components than are available with View-based layouts and provides out-of-the-box implementation of the new Wear OS design guidelines.


Tools

Android Studio Electric Eel provides the latest features for the best experience developing with Compose for Wear OS:

  • Editor and tooling support improving autocomplete and editor actions
  • Wear OS-specific Composable Preview
  • ? Live edit for real-time debugging support
  • ? Compose for Wear OS project template


Horologist

Today we’re also announcing the release of Horologist, a Google open source project which provides a set of Wear libraries that supplement the functionality provided by Compose for Wear OS and other Wear OS APIs.

Gears of a watch

Read about Horology

Horologist offers helpful Compose extensions:

  • Media UI components including playback control and volume screens
  • Material date and time pickers
  • Navigation-aware Scaffold with TimeText and PositionIndicator that stay in sync with scrolling and navigation screen changes.

Horologist will grow to provide developers with additional tools for building great Wear OS apps across different experiences. Check out the Horologist on Github to provide feedback and contribute general functionality that could be useful for Wear developers - and stay tuned for upcoming releases!


Get Started

Many of the development principles for mobile Compose apply to Compose for Wear OS, so if you’re unfamiliar with the UI toolkit start with Jetpack Compose basics.

We’ve prepared a set of materials to help you get started with Compose for Wear OS:

Now that Compose for Wear OS has reached Beta it’s a great time to get started with Compose to quickly bring your app to life or refresh your existing UI. For more information about building apps for Wear OS, check out the developer site.

We’d love to hear from you about your experiences using Compose for Wear OS and what you are able to build! Join the discussion in the Kotlin Slack #compose-wear channel and please keep providing feedback on the issue tracker.

Happy Composing!