当前位置:网站首页>Three updates to build applications for different types of devices | 2022 i/o key review

Three updates to build applications for different types of devices | 2022 i/o key review

2022-07-07 08:57:00 Google developers

c497d6811a1b58ac97f1bc98612f474e.png

Today, , The application of cross platform seamless collaboration is becoming more and more important , Because it's close 5 Billion cars 、 TV 、 Watches and laptops are equipped with Android System . In this year's I/O At the conference , Let's focus again on device types , And launched for Wear OS and Large screen device A major update of .

Here are  Google I/O The conference About " Build applications for different device types " Three important content updates of this topic , It can help you understand and review our latest releases and developments :

△  Three major updates for building applications for different types of devices

#1: Easier to build Wear OS And fitness applications

e7c712a4b9f87915ac05706a058ae1ed.gif

stay I/O At the conference , We released Compose for Wear OS Beta edition , This is a new declarative interface toolkit , Designed to help developers provide Wear OS Build a superior user experience .Compose for Wear OS With Jetpack Compose Based on , Comply with its design specifications , Help simplify and accelerate interface development . Besides ,Compose for Wear OS It also provides Material Support , It contains components that optimize the use experience for watches .

With the feedback and participation of the open source community , We have been trying to develop Compose for Wear OS. Since the launch of the developer preview , We have added and improved many components , For example, navigation 、 Scalable lazy list 、 Input and gesture support . Apply to Compose for Wear OS Coming soon, complete and API The stability of the 1.0 edition , You can start to build beautiful applications that meet the requirements of the production environment . at present Compose for Wear OS It has advanced to the release candidate stage , The latest version is 1.0.0-rc02:

https://developer.android.google.cn/jetpack/androidx/releases/wear-compose

Health Services ( In intelligence 80e03ce923d0563dec775f52894543c7.png An energy-efficient and easy-to-use development library for collecting real-time sensor data on watches ) Coming soon Beta edition , It can be put into production environment soon . adopt Health Services, Applications can use modern smart watch architecture , Save battery consumption while transmitting data frequently . Since last year Alpha Since its launch , We have been working hard to optimize performance and improve the developer experience , According to the feedback from the developers, we also made a comment on API A series of improvements have been made .

  • Health Services

    https://developer.android.google.cn/training/wearables/health-services

If you want to update the existing Wear OS Health and fitness app , Or planning a new application , We suggest you use Health Services. It not only helps you for Wear 3 Users provide the best experience , It can also help applications be compatible with other devices and sensors in the future . for example , The library will be recently released Google Pixel Watch All of the Google and Fitbit Its health and fitness services provide support .

  • Google Pixel Watch
    https://store.google.com/magazine/google_smartwatch?hl=en-US

There is also a big update ,d2b3e6a47d0b0c791c8ff40d1eb3f905.png We released Health Connect. With the help of Health Connect, Users can safely store health and fitness data on their mobile phones , Connect and share data with their favorite health and fitness apps .Samsung Health、Google Fit、Fitbit And many popular health and fitness applications are being integrated Health Connect.Health Connect It's a common set of API, Can be in Android Store and share health data on mobile phones . Developers can read and write data in the device side data storage space , You can also use standardized architecture and API Behavior makes it easy to use data . We are well aware of the importance of user health data privacy , Therefore, we have centralized control over permissions and privacy , So that users can simply and clearly manage and control applications to access their health data .

  • Health Connect

    https://developer.android.google.cn/guide/health-and-fitness/health-connect

#2: Google Vigorously promote the ecological development of tablet computers

Google Through hardware innovation 、 Operating system optimization and strong investment in the application ecosystem , Show your skills in the field of large screen devices . Data in the first quarter of this year showed that the number of active users of large screen devices was close to 2.7 Billion , therefore , It is now time to optimize tablet computers 、 Foldable devices and Chrome OS Good timing .

In last year's I/O At the conference, we released Android 12L, Through some targeted new features , send Android 12 Excellent performance on large screen devices . and Android 13 Will include Android 12L All improvements and more feature upgrades , Both versions are optimized for large screen devices , Including the taskbar 、 Multitasking 、 Keyboard and mouse support and application compatibility modes . Besides , We also provide guidelines for development 、 Tests and tools have introduced many updates . In order to avoid developers' imagination in the process of optimizing and testing large screen device applications , We created a set of quality guidelines for large screen equipment and many Material Design Layout specifications .Jetpack These guidelines are implemented in the Library , It covers many common tasks of large screen device development , Such as drag and drop .

b79a9293b0802dc15fba7dff2acbff3b.gif

Whether it's the present or the future , Hardware innovation will be Google The cornerstone of developing large screen devices . In this year's I/O At the conference ,Google Announced on 2023 Launched in 2013 Google Pixel The tablet . Besides , Our partners , Such as samsung 、 Lenovo and OPPO And other companies are building many excellent large screen devices , Including tablets 、Chromebook And foldable devices .

With the help of excellent hardware and operating system innovation , Applications for large screen device optimization are also increasing .Facebook、TikTok、HBO Max and Zoom And other applications work well on large screen devices . stay Google, We also value opportunities for large screen devices ,YouTube、Google Maps、Google Photo album 、Chrome And many others Google Popular applications are optimized for large screen devices .

△ Facebook、TikTok、HBO Max and Zoom

  • YouTube

    https://youtu.be/wq3Et-D9P5Y?t=2786

Users can go to Play Store downloads these apps ( There are more !). We are committed to helping users in Play Find the best large screen optimization application in the store , So we are Play The store has brought some of the most important updates to date , It includes new editorial recommendations for large screen devices, as well as separate evaluations and ratings for large screen applications . Besides , We are also right Google Play The app has been updated , Make it on the tablet 、Chromebook And collapsible devices .

#3: More support !

In order to make your application in large screen devices and Wear OS Can have better performance , We have created a series of in-depth introductions , Designed to help your application better adapt to different types of input 、 Screen size and equipment .

Android Studio Dolphin Beta Version and Electric Eel Canary Version included for Wear OS and Large screen device New features developed , It can improve your efficiency in developing and testing different device types . see also  Android Latest update of development tools Learn more about .

I don't know where to start ? Here are I/O All the wonderful contents of the Conference , It can help you :

  • Compose for Wear OS Beta The release of

  • Video list : Google I/O Various types of equipment mentioned at the Conference

    https://www.youtube.com/playlist?list=PLWz5rJ2EKKc_seN7mrwgU7mDYKA0hq_ib

  • Android Developer documentation : Health Connect

    https://developer.android.google.cn/guide/health-and-fitness/health-connect

  • #TheAndroidShow: Google I/O Round table Q & A at the Conference

    https://www.youtube.com/watch?v=wq3Et-D9P5Y

You can use the QR code below or send a private message at the bottom of the article , Submit feedback to us , Share your favorite content 、 Problems found . Your feedback is very important to us , Thank you for your support !

1f8734c0cf933e391f585239776cf647.png

fd8727ed3625d57b13a97a408546676a.gif  Click at the end of the screen   Read the original |  Learn immediately how to start optimizing applications for large screen devices


acedf12cee4162151d2b132729503e23.gif

原网站

版权声明
本文为[Google developers ]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/188/202207070615120020.html