【前置提示】:本文翻譯作業尚未完工,您可以先看原文QUQ
原文標題:Announcing dual-screen preview SDKs and Microsoft 365 Developer Day
譯文:
在去年的十一月份(2019/11),我們分享了關于雙屏設備的展望,以及這種全新型別的設備將如何幫助人們在更小、更加便捷的一個設備上完成更多作業,今天,我們非常興奮地告訴你,你可以從下面的幾個方面來更快地上手,并且持續的為雙屏設備進行優化:
- 1.上手預覽版的SDK,了解對程式和網站的新標準
- 2.對雙屏設備保持積極的態度
- 3.通過參加Microsoft 365開發者日來了解更多
1) 上手預覽版的SDK,了解對程式和網站的新標準
我們非常開心地宣布:針對Microsoft Surface Duo的預覽版SDK即將發布,而且針對Windows 10新版本的預覽版SDK也將在接下來的幾周內發布,我們同樣在此激動地公布能夠保證雙屏設備(包括Android和Windows 10X)在網頁瀏覽和PWA下最佳體驗的新的網頁標準,這些新標準將提供適配時所需的新能力和新工具,
下載針對Microsoft Surface Duo的預覽版SDK
今天起,開發者們就可以下載針對Surface Duo的預覽版SDK,瀏覽檔案和最佳實踐示例,查看UX設計模板等,這些工具可以讓開發者們在第一時間了解發揮雙屏設備的優勢的最佳方法,
預覽版SDK包括:
- 支持對雙屏設備Surface Duo開發的Native Java API,包括 DisplayMask API,Hinge Angle Sensor以及一些雙屏設備的新功能
- 一個集成在Android Studio中包含Surface Duo外觀的Android模擬器,有了它,你無需擁有一臺Surface Duo就可以測驗你的app,比如利用模擬器模擬不同的旋轉方向, 手勢操作, 鉸鏈角度,甚至是兩個螢屏之間的接縫等,之后我們也會持續的為它增加新的功能,
- 要求:安裝Android Studio和Android模擬器
在接下來的幾個月中,我們會發布更多的公告和討論,我們也十分期待收到你的反饋,
圖1:包含Surface Duo外觀的Android模擬器
針對Windows 10X的早期開發
在接下來的幾周內,開發者們將可以通過預覽通道獲取到預發布版本的Windows SDK,我們希望在2月11日為你提供擁有對雙屏支持的API的Microsoft® Emulator,檔案以及代碼示例,
包括:
- 允許你開發可以在雙屏設備中跨越兩個螢屏,檢測鉸鏈位置,并且充分利用Windows 10X的眾多Native Windows API
- Microsoft Emulator是一個雙屏的Hyper-V模擬器,所以你可以部署現有的UWP平臺和Win32應用程式,并且在單屏和雙屏的場景下進行測驗,模擬器可以模擬真實設備,所以你可以看到你的app在Windows 10X下是如何進行互動的,
- 要求:最新推送的Windows 體驗預覽計劃版(64-bit,企業版或教育版),4核 64-bit的CPU,8GB的記憶體(此為最低要求,建議為16GB),支持Hyper-V和Direct X 11.0或更高版本的專用GPU
圖2:展示Windows 10X的Microsoft Emulator
為雙屏設備瀏覽網頁做準備
使用Chromium內核的全新Microsoft Edge已在上周發布,它可以為用戶提供橫跨各個設備的網頁瀏覽和Web App使用體驗,我們正在積極準備新功能,使Web內容無論在瀏覽器中,或者是作為App被安裝,都可以在雙屏設備上擁有不錯的體驗,
- 雙屏環境下新的Web標準:我們建議使用CSS原語來實作雙屏環境下的排版,并且使用JS視窗段列舉API來為Web開發者提供Web平臺原語來檢測多個顯示并在其中布局內容,我們希望盡快通過預覽版的瀏覽器來提供這些 (測驗版) 特性,
- 雙屏:
The new Microsoft Edge released last week, provides a powerful and compatible foundation for website and web app experiences across devices, powered by Chromium. We are actively incubating new capabilities that enable web content to provide a great experience on dual-screen devices, whether it’s running in the browser or installed as an app.
原文:
In November, we shared our vision for dual-screen devices and how this new device category will help people get more done on smaller and more mobile form factors. Today, we are excited to give you an update on how you can get started and optimize for dual-screen devices by:
- Exploring preview SDKs and standards proposals for apps and websites
- Embracing dual-screen experiences
- Learning more at Microsoft 365 Developer Day
1) Exploring preview SDKs and standards proposals for apps and websites
We are happy to announce the availability of the preview SDK for Microsoft Surface Duo, and availability in the coming weeks for the preview SDK for Windows 10. We are also excited to announce new web standards proposals to enable dual-screen experiences for websites and PWAs on both Android and Windows 10X. These new web standards proposals will provide you with the capabilities and tools you need for dual-screen devices.
Download the preview SDK for Microsoft Surface Duo
Today, developers can download the preview SDK for Surface Duo, access documentation and samples for best practices, see UX design patterns, and more. The preview SDK gives developers a first look at how you can take advantage of dual-screen experiences.
This includes:
- Native Java APIs to support dual-screen development for the Surface Duo device, including the DisplayMask API, Hinge Angle Sensor, and new device capabilities.
- An Android Emulator with a preview Surface Duo image that is integrated into Android Studio so you can test your app without a physical device. The emulator simulates postures, gestures, hinge angle, mimicking the seam between the two screens, and more. We’ll continue to add functionality over time.
- Requirements: For the Android Studio and Android Emulator.
We will have more announcements and discussion in the coming months and look forward to hearing your feedback.
Figure 1: The Android Emulator with a preview Surface Duo image
An early look at developing for Windows 10X
In the coming weeks, developers will have access to a pre-release version of the Windows SDK through the standard Insider builds. Our intent is to provide you with the Microsoft® Emulator on February 11th as well as new APIs for dual-screen support, documentation, and code samples.
This includes:
- Native Windows APIs for dual-screen development to enable your app to span the two screens, detect the hinge position, and take advantage of Windows 10X.
- Microsoft Emulator is a dual-screen Hyper-V emulator so you can deploy your existing Universal Windows Platform (UWP) and Win32 apps and test in both single-and dual-screen scenarios. The emulator simulates the physical device so you can see how your apps interact with Windows 10X.
- Requirements: A recent Windows Insiders preview build of 64-bit Windows 10 (Pro, Enterprise, or Education), 64bit CPU with 4 cores, 8GB minimum (16GB of RAM recommended), Hyper-V enabled and dedicated GPU that supports Direct X 11.0 or later.
Figure 2: Microsoft Emulator showing Windows 10X
Build dual-screen experiences on the web
The new Microsoft Edge released last week, provides a powerful and compatible foundation for website and web app experiences across devices, powered by Chromium. We are actively incubating new capabilities that enable web content to provide a great experience on dual-screen devices, whether it’s running in the browser or installed as an app.
- New web standards for dual-screen layout: We are proposing CSS primitives for dual-screen layouts and a JavaScript Window Segments Enumeration API to provide web platform primitives for web developers to detect multiple displays and lay out content across them. We expect to provide an experimental implementation of these features in preview builds of the browser soon.
- Dual-screen polyfills: As the above features progress through the web standards process, we’ve published polyfills that you can write against as you begin to explore dual-screen development. You can find the polyfills and associated documentation at:
- The JavaScript Window Segments enumeration polyfill enumerates segments (regions on separate displays) where logically separate pieces of content can be placed.
- The CSS ‘spanning’ media feature polyfill allows you to lay out content in a window that spans multiple displays.
- Progressive Web Apps are supported out of the box in the new Microsoft Edge, which can be installed directly from the browser on Windows 10X and Android. PWAs will support the same dual-screen layout features and tools as the browser.
We’ll have more to share about building for dual-screen devices with web technologies over the coming months – watch the Microsoft Edge blog for more details.
2) Embracing dual-screen experiences
Dual-screen devices creates an opportunity for your apps to delight people in a new and innovative way. To help you get started, we are providing you with basic support checklists for touch and pen and drag and drop and initial app pattern ideas to ensure your apps work great on dual-screen devices.
Figure 3: Dual-screen app patterns
Your app by default will occupy a single screen, but users can span the app to cover both screens when the device is in a double-portrait or double-landscape layout. You can programmatically enable full-screen mode for your app at any time, but spanning is limited to user activity for now.
Figure 4: Dual-screen orientation and layout.
or those who are interested in native cross-platform development using React Native or Xamarin.Forms, we are working on improvements to those frameworks and code samples. You can find the all dual-screen checklists, app patterns, and new code samples as they become available on our dual-screen documentation site. Please reach out to us at [email protected] so we can work with you to idealize and innovate great dual-screen experiences together.
3) Learning more at Microsoft 365 Developer Day – Dual-Screen Experiences
Please join us online for the Microsoft 365 Developer Day, focused on dual-screen experiences on Tuesday, February 11th at 8:30 AM PDT. The keynote and sessions will show how to:
- Get the most out of these SDKs and emulators
- Use cross platform tools and languages
- Design apps for dual-screen devices
- Build dual-screen experiences on the web
- Connect your apps with Microsoft 365
We hope that you will join us, and we are excited to see what dual-screen experiences you build.
轉載自 Windows團隊博客 ,本人隨緣佛系翻譯,一切內容以英文原文為準,本譯文僅供參考,
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/541.html
標籤:其他
