[英]Silverlight vs W8/W8.1/WP8/WP8.1
我知道你可以使用c#和XAML開發W8應用程序。 在wp8上是一樣的嗎?
Silverlight如何與所有這些相關,以及WP8.1 / WP8如何與所有這些相關。
如果您想了解更多細節,請告訴我。
您可以使用C#和XAML在Windows Phone上開發應用程序。
Windows 8使用名為WinRT的運行時。 Windows Phone傳統上使用名為Silverlight的運行時。 兩者都基於C#和XAML,但它們具有不同的控件和不同的類。
從Windows Phone 8.1開始,您可以使用WinRT制作手機應用程序。 因此,您現在可以使用相同的運行時為Windows 8和Windows Phone 8.1編寫應用程序(因此共享大部分代碼):它們被稱為“通用應用程序”。
至於知道你應該使用哪一個:
在這個版本上,我們有一個90%的API收斂,還有一個小集合尚未收斂,這是僅在Silverlight中可用的Phone功能:
- 鏡頭支持
- VOIP支持
- 相機捕捉任務
- 剪貼板API
- 鎖屏壁紙API
1 Ans:您可以使用C# & XAML
開發Windows 8, Windows 8.1, Windows Phone 7, Windows Phone 8 & Windows Phone 8.1
應用程序。
2:Ans:Windows Phone 7,Windows Phone 8和Windows Phone 8.1(Targetting Silverlight)使用Silverlight API's
。 Windows Phone 8和Windows Phone 8.1如何與Silverlight相關,他們使用可用於移動應用程序框架的SIlverlight API。
Windows 8和Windows 8.1都針對WinRT API's
。 目前Windows Phone 8.1也支持WinRT API。 因此,如果要創建Windows 8.1和Windows Phone 8.1應用程序,可以通過創建面向兩個平台的Universal application
來實現(它們的收斂率為90%)。
If you want to create Windows 8 & Windows Phone 8 applications, you will require Visual Studio 2012 & Windows 8 OS.
If you want to create Windows 8.1, Windows Phone 8 & Windows Phone 8.1 applications , you require Visual Studio 2013 & Windows 8.1 OS.
此鏈接為您提供有關Windows 8和Windows Phone 8應用程序開發的簡要概述。
希望這可以幫助。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.