当前位置:网站首页>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 06:14:00 Android Developer

6ca9d32db5deb0b664a8d2b0b154e9b9.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

df5e96a58015182e91e7b0a7ae7c9bab.png

#1:  Easier to build Wear OS And fitness applications

6fe8a4aff299dada4076859f45c2eb73.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 1a17d86561223c0e33233dd507514fc5.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 ,e8ffee01292518af59e2c6932f27ea36.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

e0b2bf67bd8448a15a70200068484d9a.png

#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 .

9daef35918954b47b10dc7dade64eb08.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 .

4d1b4319ff748bf89b92156f653abb4a.png

#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 !

188f75691cc50d00b07388e20937ca51.png

fd05e25e0995279181e5145b743203b3.gif

Recommended reading

If the page is not loaded , Please refresh and retry

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


ece9749091a3c906dfc4dc3fa846169e.png

原网站

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