Windows Phone 8.1 API [英] Windows Phone 8.1 API

查看:30
本文介绍了Windows Phone 8.1 API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有 Windows Phone 8.1 API 可供参考?这是因为我想开发Windows Phone 8.1应用程序,但是我不知道在哪里引用API,因为Windows Phone 8.1和8有很大的不同,所以我不能引用Windows Phone 8 API.

Is there Windows Phone 8.1 API to refer? This is because I want to develop the Windows Phone 8.1 application, but I don't know where to refer the API, since the Windows Phone 8.1 an 8 have a big different, so I can't refer to the Windows Phone 8 API.

推荐答案

Windows Phone 8.1 上有两套 API

There is two sets of APIs available on Windows Phone 8.1

  • Windows 运行时 (MSDN),所有带有文档页面上的电话图标在 WP8.1 上可用.这适用于通用应用"项目类型.其中许多 API 与 Windows 应用商店应用程序(又名 Metro 或 Modern 应用程序)共享,使您可以为 Windows 和 Windows Phone 应用程序使用相同的代码库.

  • Windows Runtime (MSDN), all APIs with a phone icon on the documentation page is available on WP8.1. This applies to the "Universal App" project types. Many of these APIs are shared with Windows Store applications (aka. Metro or Modern applications), allowing you to have the same code-base for both Windows and Windows Phone applications.

Silverlight (MSDN) 适用于 Silverlight 8.0 和 Silverlight 8.1 API.MSDN 上对于 8.1 的 API 没有特别的区别.

Silverlight (MSDN) applies to Silverlight 8.0 and Silverlight 8.1 APIs. There's no specific distinction on MSDN for 8.1 only APIs.

MSDN 还针对 Windows Phone 8.1 的新增功能提供了上述两者的混合列表(MSDN),主要针对 Windows 运行时功能.

MSDN also have a mixed list of the two above for What's New in Windows Phone 8.1 (MSDN), primarily targeting the Windows Runtime features.

我个人建议编写通用应用程序(Windows 运行时),而不是坚持使用 Silverlight,除非您有充分的理由,例如 VoIP 应用程序,或者希望与 8.0 用户保持向后兼容,同时利用8.1 新功能.

I would personally recommend writing Universal Apps (Windows Runtime), rather than sticking with Silverlight, unless you have a good reason, such as a VoIP application, or the wish to remain backward compatible with 8.0 users, while taking advantage of the new 8.1 features.

这篇关于Windows Phone 8.1 API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆