在面向 Windows 8 和英特尔设备开发应用时,您可获得选择想要开发的 Windows 8 应用类型的独特机会。以下文章可帮助您选定一些有利 于决定需开发应用类型的资源。
运行 Windows 8(面向收敛设备的强大组合)的超极本TM 支持用户运行桌面和 Windows 商店(之前称为 Metro 风格)应用。微软的新 WinRT API 为开发人员提供了创建 Windows 商店应用的工具。另外,一些 WinRT API 可用于在 Windows 8 上开发桌面应用,这意味着开发人 员可轻松将他们的传统 Windows 应用移植至 Windows 8 桌面应用。
桌面应用可运行于 Windows 8 的 Windows 桌面模式下,这种模式看似传统的 Window 环境,然而它并不能提供全面的传统体验。一般的误 解是不能为桌面模式开发基于 Windows 8 触摸屏和传感器的新应用,或不能在 Windows 8 商店中上市出售桌面应用,这两种看法都是错误的 。您可以开发触摸屏和传感器桌面应用,您也可以将这些应用在 Windows 商店中上市销售。另外,一些硬件驱动程序和设备特性——如英特尔® 无线显示技术(英特尔® WiDi)和 OpenGL*——目前仅支持在桌面模式下运行的应用。开发人员应该知道一些设备特性和技术可能还未面向 Windows 8 UI 环境推出或开发。
开发桌面应用的优势:
桌面模式支持的语言包括:C++、C#、HTML5/JavaScript*、Unity*、Python*、QT、Flash/AIR、Java*,构建和编译的任何可在 Windows 7/8 上运行的语言。
支持的特性:
Windows 商店应用通常被称为 WinRT 应用,以前被称为 Metro 应用。这些应用利用新的 WinRT API,仅可在 Windows 8 商店中分发。微 软已提供了许多特性,并将部分触摸屏和传感器 API 整合成一套 WinRT 下的强大设备 API。基于 WinRT 的应用通过使用 Visual Studio* 2012 开发,可以 C++、C# 或 HTML5、JavaScript* 和 CSS3 等网络技术进行编写,然后打包并通过 Visual Studio IDE 分发至 Windows 商 店。下面详细了解每个方面。
优势
手势 | 说明 |
轻击 | 它就像键盘上的按键事件。单指触摸屏幕,然后抬起。 |
按住 | 用一个手指按住屏幕。 |
滑动 | 移动手指,屏幕在相同方向移动。 |
轻扫 | 类似于滑动,但滑动的距离更短。 |
转动 | 两个或更多手指触摸屏幕,并以顺时针或逆时针圆弧旋转。 |
夹捏 | 就像用一个或更多手指挤压一样。 |
拉伸 | 两个或更多手机触摸屏幕,进行分开。 |
传感器 | 说明 |
加速器 | 捕捉 X、Y 和 Z 轴上的加速度。 加速器示例 –by Microsoft |
测斜仪 | 捕捉倾角变化。 测斜仪示例 –by Microsoft |
陀螺测试仪 | 捕捉角速度变化.陀螺测试仪示例 –by Microsoft |
指南针 | 捕捉方向变化。指南针示例 –by Microsoft |
光 | 感应环境光变化。光传感器示例 –by Microsoft |
方向 | 加速器、指南针和陀螺测试仪可提供更多细粒度的运动数据。方向传感器示例 –by Microsoft |
简单方向 | 使用加速器获取设备方向,以旋转至四个象限之一它可提供面朝上、面朝下及 90、180 或 270 度旋转等运动。简单方向传感器示例 –by Microsoft |
注: Windows 商店应用不会向后兼容。您不能在 Windows 7 或 Windows 2012 服务器上部署商店应用。
支持 Windows 商店应用的超极本特性:
超极本特性矩阵
点击该链接,您可了解到超极本特性矩阵分析了桌面模式面向各种开发语言使用的特性。
http://software.intel.com/en-us/articles/ultrabook-feature- compatibility-matrix-for-windows-8-development
Notices
INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH INTEL PRODUCTS. NO LICENSE, EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, TO ANY INTELLECTUAL PROPERTY RIGHTS IS GRANTED BY THIS DOCUMENT. EXCEPT AS PROVIDED IN INTEL'S TERMS AND CONDITIONS OF SALE FOR SUCH PRODUCTS, INTEL ASSUMES NO LIABILITY WHATSOEVER AND INTEL DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY, RELATING TO SALE AND/OR USE OF INTEL PRODUCTS INCLUDING LIABILITY OR WARRANTIES RELATING TO FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT.
UNLESS OTHERWISE AGREED IN WRITING BY INTEL, THE INTEL PRODUCTS ARE NOT DESIGNED NOR INTENDED FOR ANY APPLICATION IN WHICH THE FAILURE OF THE INTEL PRODUCT COULD CREATE A SITUATION WHERE PERSONAL INJURY OR DEATH MAY OCCUR.
Intel may make changes to specifications and product descriptions at any time, without notice. Designers must not rely on the absence or characteristics of any features or instructions marked "reserved" or "undefined." Intel reserves these for future definition and shall have no responsibility whatsoever for conflicts or incompatibilities arising from future changes to them. The information here is subject to change without notice. Do not finalize a design with this information.
The products described in this document may contain design defects or errors known as errata which may cause the product to deviate from published specifications. Current characterized errata are available on request.
Contact your local Intel sales office or your distributor to obtain the latest specifications and before placing your product order.
Copies of documents which have an order number and are referenced in this document, or other Intel literature, may be obtained by calling 1-800-548-4725, or go to: http://www.intel.com/design/literature.htm
Software and workloads used in performance tests may have been optimized for performance only on Intel microprocessors. Performance tests, such as SYSmark and MobileMark, are measured using specific computer systems, components, software, operations, and functions. Any change to any of those factors may cause the results to vary. You should consult other information and performance tests to assist you in fully evaluating your contemplated purchases, including the performance of that product when combined with other products.
Any software source code reprinted in this document is furnished under a software license and may only be used or copied in accordance with the terms of that license.
Intel, Ultrabook, and the Intel logo are trademarks of Intel Corporation in the US and/or other countries.
OpenGL is a registered trademark of Silicon Graphics, Inc. in the United States and/or other countries worldwide.
Copyright © 2012 Intel Corporation. All rights reserved.
*Other names and brands may be claimed as the property of others.