[翻譯] 發佈雙屏預覽SKD,公佈MICROSOFT 365開發者日日期

【前置提示】:本文翻譯工做還沒有完工,您能夠先看原文QUQcss

原文標題:Announcing dual-screen preview SDKs and Microsoft 365 Developer Dayandroid

譯文:ios

去年的十一月份(2019/11),咱們分享了關於雙屏設備的展望,以及這種全新類型的設備將如何幫助人們在更小、更加便捷的一個設備上完成更多工做。今天,咱們很是興奮地告訴你,你能夠從下面的幾個方面來更快地上手,而且持續的爲雙屏設備進行優化:git

  • 1.上手預覽版的SDK,瞭解對程序和網站的新標準
  • 2.對雙屏設備保持積極的態度
  • 3.經過參加Microsoft 365開發者日來了解更多

1) 上手預覽版的SDK,瞭解對程序和網站的新標準

咱們很是開心地宣佈:針對Microsoft Surface Duo的預覽版SDK即將發佈,並且針對Windows 10新版本的預覽版SDK也將在接下來的幾周內發佈。咱們一樣在此激動地公佈可以保證雙屏設備(包括Android和Windows 10X)在網頁瀏覽和PWA下最佳體驗的新的網頁標準。這些新標準將提供適配時所需的新能力和新工具。github

下載針對Microsoft Surface Duo的預覽版SDK

今天起,開發者們就能夠下載針對Surface Duo的預覽版SDK,瀏覽文檔和最佳實踐示例,查看UX設計模板等。這些工具可讓開發者們在第一時間瞭解發揮雙屏設備的優點的最佳方法。web

預覽版SDK包括:windows

  • 支持對雙屏設備Surface Duo開發的Native Java API。包括 DisplayMask API,Hinge Angle Sensor以及一些雙屏設備的新功能
  • 一個集成在Android Studio中包含Surface Duo外觀的Android模擬器。有了它,你無需擁有一臺Surface Duo就能夠測試你的app,好比利用模擬器模擬不一樣的旋轉方向, 手勢操做, 鉸鏈角度,甚至是兩個屏幕之間的接縫等。以後咱們也會持續的爲它增長新的功能。
  • 要求:安裝Android StudioAndroid模擬器

在接下來的幾個月中,咱們會發布更多的公告和討論。咱們也十分期待收到你的反饋瀏覽器

圖1:包含Surface Duo外觀的Android模擬器session

針對Windows 10X的早期開發

在接下來的幾周內,開發者們將能夠經過預覽通道獲取到預發佈版本的Windows SDK。咱們但願在2月11日爲你提供擁有對雙屏支持的API的Microsoft® Emulator,文檔以及代碼示例。app

包括:

  • 容許你開發能夠在雙屏設備中跨越兩個屏幕,檢測鉸鏈位置,而且充分利用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:

  1. Exploring preview SDKs and standards proposals for apps and websites
  2. Embracing dual-screen experiences
  3. 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:
  • 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 dualscreendev@microsoft.com 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團隊博客 ,本人隨緣佛系翻譯,一切內容以英文原文爲準,本譯文僅供參考。

相關文章
相關標籤/搜索