简体   繁体   English

Windows 8平板电脑上的快速入门

[英]Quickstart on Windows 8 tablet

I want to develop application for windows 8 tablet. 我想开发Windows 8平板电脑的应用程序。 I now have: 我现在有:

  1. Windows 8 consumer preview machine Windows 8消费者预览机
  2. VS studio 2011 VS工作室2011

And I'd like to know: 我想知道:

  • Where do I start? 我从哪里开始?
  • Do the applications developed for windows 8 desktop will be used as it is in windows 8 tablets? 为Windows 8桌面开发的应用程序是否将用于Windows 8平板电脑?
  • Where can I get emulater kind of thing to test them? 我在哪里可以通过emulater来测试它们?
  • Can I have some hello world sample for windows 8 tablet application. 我可以为Windows 8平板电脑应用程序提供一些hello world示例。 I did it for windows 8 desktop but will it work as it is on tab? 我是为Windows 8桌面做的,但是它会在标签上运行吗?
  • What is the difference in development environment I need to use WInRT where this WINRT comes in picture? 开发环境有什么不同我需要使用WINRT这个WINRT的图片?
  • When I select new metrostyle application, will it automatically switch to winrt instead of .net? 当我选择新的metrostyle应用程序时,它会自动切换到winrt而不是.net吗?

There is lot of confusion for winrt vs .net (when we actually start working on VS 2011 on consumer preview) 对于winrt vs .net来说有很多困惑(当我们真正开始在消费者预览的VS 2011上工作时)

There is no difference between desktop and tablet Windows 8 machines other than the form factor and available features. 除了外形和可用功能之外,台式机和平板电脑Windows 8机器之间没有区别。 Well that and the fact that some of these tablets will be running on ARM hardware (the Windows RT SKU of Windows), so if you use any native code you need to factor in another platform to what you may want to support (x86, x64, ARM). 嗯,以及其中一些平板电脑将在ARM硬件(Windows的Windows RT SKU)上运行的事实,所以如果您使用任何本机代码,您需要将另一个平台纳入您可能想要支持的内容(x86,x64) ,ARM)。

To start - just create a blank Metro Style App project in Visual Studio 11 and run it with F5. 首先 - 只需在Visual Studio 11中创建一个空白的Metro Style App项目,然后使用F5运行它。 The Metro Style Apps use Windows Runtime (WinRT for short) instead of WinAPI/Win32 that the "desktop apps" use. Metro风格应用程序使用Windows Runtime(简称WinRT)而不是“桌面应用程序”使用的WinAPI / Win32。 Desktop apps that use WinAPI can still be used on non-ARM devices, but can't be sold in the Windows Store (though you can sell it yourself on your website and get it featured in the Store). 使用WinAPI的桌面应用程序仍然可以在非ARM设备上使用,但不能在Windows应用商店中销售(尽管您可以在自己的网站上自行销售并在商店中使用它)。

Here are some learning resources that you can start with. 以下是一些您可以开始学习的资源 I recommend beginning with the Build conference videos. 我建议从Build会议视频开始。

You can go ahead with VS2012 with windows 8 RTM . 您可以使用Windows 8 RTM继续使用VS2012。

VS 2012 itself contains Emulator but you cab always chose Local Machine to deploy your app on your own machine to have the look and feel of the app VS 2012本身包含模拟器,但您总是选择本地计算机在您自己的计算机上部署您的应用程序以获得应用程序的外观和感觉

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM