Reimagining App Development with the Windows Runtime

The Windows Runtime Enables Language Choice

 

The Windows Runtime Is Natural and Familiar

[DllImport("avicap32.dll", EntryPoint = "capCreateCaptureWindow")]
static extern int capCreateCaptureWindow(
  string lpszWindowName, int dwStyle,
  int X, int Y, int nWidth, int nHeight,
  System.IntPtr hwndParent, int nID);
[DllImport("avicap32.dll")]
static extern bool capGetDriverDescription(
  int wDriverIndex,
  [MarshalAs(UnmanagedType.LPTStr)] ref string lpszName,
  int cbName,
  [MarshalAs(UnmanagedType.LPTStr)] ref string lpszVer,
  int cbVer);
using Windows.Media.Capture;
MediaCapture captureMgr = new MediaCapture();
await captureMgr.InitializeAsync();
// Start capture preview; capturePreview
// is a CaptureElement defined in XAML
capturePreview.Source = captureMgr;
await captureMgr.StartPreviewAsync();

The Windows Runtime Is Rich in Functionality



The Windows Runtime Is Fast and Fluid (Native and Async)

The Windows Runtime Enables Hybrid Apps



Frequently Asked Questions

Q. Is the Windows Runtime a replacement for the CLR or the Microsoft .NET Framework?

A. No. The Windows Runtime does not replace the .NET Framework or any other frameworks. When you build a Windows Store app in C#, your code is still executing using the CLR. Not only that, but a subset of the .NET Framework (as well as Win32 and COM) is available for you to use when building your Windows Store apps.

Q. So when writing Windows Store apps in C++, I’m using C++/CLI?

A. No. Code using the Windows Runtime for Windows Store apps is written using C++/CX. Though it may look like C++/CLI at first, it is truly native. You won’t introduce garbage collection or other C++/CLI features into your native app.

原文地址

Reimagining App Development with the Windows Runtime

时间: 2024-10-25 22:00:36

Reimagining App Development with the Windows Runtime的相关文章

9 Top JavaScript Frameworks For Mobile App Development

Technically speaking, mobile apps on iOS, Android, and Windows Phone are coded using different programming languages. An iOS app uses Objective-C, an Android app is coded with Java, while a Windows Phone application uses .NET. However, with a decent

Setup and configure an open source Fortran development environment on Windows

We must have already been familiar with proprietary Fortran programming environments, for example, Compaq Visual Fortran IDE (which is actually a combination of Microsoft’s Visual Studio 6 IDE and Compaq’s Fortran compiler along with commercial numer

Top 6 Programming Languages for Mobile App Development

Mobile application development industry in the last five years have multiplied in leaps and bounds, changing the way businesses function worldwide. With enterprises aligning mobile apps to their productivity in the recent times, and with the rapid in

Windows Runtime(WinRT)

1.提供对设备.操作系统和服务的全面访问能力 2.更方便的调用win32 api,投影到C++.C#/VB.HTML 3.API是异步的 4.XAML-based UI(silverlight,wpf,winphone) 5.开发win8 store app .NET开发人员都对.NET 的P / Invoke和COM Interop 很熟悉了,这两种技术使得.NET人员可以使用Win32 API和COM组件. 创建原生库的方法很多,但是这些工作都得是手工去做,很乏味而且容易出错,从这点来说Wi

How to enable C development in a Windows 10 development environment VM

To enable C development in a Windows 10 development environment VM, follow these steps: Start VS in the Windows 10 development environment VM. Choose "File" -> "New" -> "Project", choose "Open Visual Studio Install

Hybrid App Development: 二、关于造轮子以及在Xcode iOS应用开发中加入Cordova

转载请注明出处:http://www.cnblogs.com/xdxer/p/4111552.html [ctrl+左键点击图片可以查看原图] 在上一篇关于Hybrid App Development的文章中,我讨论了一下在iOS下UIWebView的使用方法.但是光使用一个UIWebView所提供的功能还是完全不能满足我们的需求.   关于造轮子的思考: 在UIKit中的UIWebView虽然已经提供了很多功能了,比如JavaScript和Objc之间的通信.但是考虑到一个问题,如果在Hybr

Windows Runtime (RT)

学了sl for wp 开发了1年都没入门,只能说自己的学习欲望太低了. 今天偶然才发现wrt 跟 .net 是2个东西... orz. 得抛弃 sl ,wrt才是未来的主流吧... 这篇文章不错 http://www.dotblogs.com.tw/regionbbs/archive/2011/09/18/introducing.windows.runtime.library.aspx 就是台湾人写的,好多术语不一样

COMP6239 Mobile App Development Assignment

COMP6239 Mobile App Development AssignmentAssignment: Tutor Finder App Lecturer: [email protected] Weighting: 30%Deadline: 17/05/2019 @ 16:00 Feedback: 14/06/2019 Effort: 45 hours perpersonRelevant Learning Outcomes (LOs)This assignment assesses your

Deploy Flask app to Apache on Windows

故事背景 这次我需要将一个Flask应用部署到本地的Windows服务器上.操作系统是64位的,程序是基于Python 3开发的,大体就是这样. 部署选项 根据Flask的部署指南,可供选择的方式还是蛮多的,IIS.Apache.nginx……本着享受生活不折腾的原则,我们应该选择标准的.方便的.用户多的技术.再按照页面上的提示,“Just remember that your Flask application object is the actual WSGI application“,于是