Posted in

为新款三星 Galaxy 可折叠设备和手表准备您的应用!_AI阅读总结 — 包阅AI

包阅导读总结

1.

关键词:Samsung Galaxy、foldables、watches、Wear OS 5、adaptive apps

2.

总结:三星发布新款折叠屏和手表,介绍了为其准备应用的方法,包括让应用适配 Wear OS 5 及构建自适应应用以适配不同屏幕尺寸和类型。

3.

主要内容:

– 三星举办 Galaxy Unpacked 活动,推出新款折叠屏和手表

– 包括 Galaxy Z Fold6、Z Flip6、Galaxy Watch7 和 Watch Ultra

– 为最新 Android 设备准备应用

– 适配 Wear OS 5

– 在 Wear OS 5 模拟器上测试应用

– 了解新的 Watch Face Format 及发布要求变化

– 构建自适应应用

– 使用 Compose 自适应布局库

– 利用窗口大小类别优化 UI

– 鼓励开发者利用新设备和技术构建出色应用

– 参考 Wear OS 开发者网站和画廊

– 借助 Compose 实现应用在更多屏幕上的适配

思维导图:

文章地址:http://android-developers.googleblog.com/2024/07/updates-samsung-galaxy-unpacked.html

文章来源:android-developers.googleblog.com

作者:Android Developers

发布时间:2024/7/11 18:35

语言:英文

总字数:622字

预计阅读时间:3分钟

评分:85分

标签:Wear OS,自适应应用,Compose 库,三星 Galaxy,用户体验


以下为原文内容

本内容来源于用户推荐转载,旨在分享知识与观点,如有侵权请联系删除 联系邮箱 media@ilingban.com

Posted by Maru Ahues Bouza – Product Management Director, Android Developer

Yesterday’s Galaxy Unpacked event from Samsung debuted the latest in foldables, wearables, and more! The event introduced the Galaxy Z Fold6 and Z Flip6 and the Galaxy Watch7 and Watch Ultra – and it has never been easier to build apps that look great across all these screen sizes and types. To help you get your apps ready for the latest Android devices, we’re sharing how you can prepare your app for Wear OS 5 and how to build adaptive apps that scale across mobile, tablets, foldables and more!

Get your app ready for Wear OS 5

Samsung’s new Galaxy Watch lineup, including the Watch Ultra and Watch7, will be the first smartwatches powered by Wear OS 5, the latest version of the Wear OS platform. As Wear OS 5 is based on Android 14, this new platform version brings with it a number of developer-facing changes. To ensure your app is ready for the next generation of devices, start by testing your app on the Wear OS 5 Emulator!

Galaxy Watch Ultra (left) and Galaxy Watch7 (right)

Wear OS 5 brings the next iteration of the Watch Face Format, providing more features to create expressive, efficient and individual watch faces for your users. New watches launched with Wear OS 5 will only support third-party watch faces built with Watch Face Format, prioritizing the user experience. For more information on watch face compatibility, see this Help Center article.

As we gather momentum behind the Watch Face Format, we’re changing requirements for publishing watch faces on Google Play. Check out the watch face page for the latest guidance.

Build adaptive to scale across screen sizes and types

The latest in large screens and foldables are here, with the new Galaxy Z Fold6 and Z Flip6, so there is even more reason to ensure your app looks great across whatever screen size or folded state your users are engaging with. The best way to do that is to make your app adaptive – meaning your users get an optimal experience on all their devices. By building an adaptive app, you scale across mobile, tablets, foldables, desktop and more.

Galaxy Z Fold6

A great place to start when building adaptive apps is with the new Compose adaptive layout libraries. These libraries are designed to help you to make your UI look good across window sizes. From navigation UI to list/detail and supporting pane layouts, we’re providing composables to make building an adaptive app easier than ever.

Additionally, window size classes are the best way to scale your UI, with opinionated breakpoints that help you design, develop, and test responsive/adaptive layouts across various window sizes. Window size classes enable you to change your app layout as the display space available to your app changes, for example, when a device folds or unfolds, the device orientation changes, or the app window is resized in multi‑window mode.

Discover everything you need to know about building adaptive apps with the adaptive apps documentation; it will be continually updated with the latest and greatest tools and APIs to enable you to scale across screens!

Get started with Adaptive Apps and Wear OS

With these new devices, from the smallest to the largest, there are opportunities to build apps that excite your users on all their favorite Android screens. Apps like SoundCloud, Peloton, and more are already building experiences that scale across their user’s favorite screens!

Get building for Wear OS today by checking out Wear OS developer site and visiting the Wear OS gallery for inspiration. And scale your app across even more screens by building adaptive with the latest from Compose!