http://pan.baidu.com/s/1hqyusja?qq-pf-to=pcqq.c2c#dir/path=%2FWPSDK%208.1%20DevPreview%20Installer
wp8.1 sdk preview

赶紧的吧!

 

Breaking changes for Windows Phone (code-named “Blue”)

[This documentation is preliminary and is subject to change.]

This document lists breaking changes introduced for Windows Phone (code-named “Blue”). We've made significant changes and optimizations to improve apps in Windows Phone (code-named “Blue”). Many optimizations don’t require you to change your code, but some improvements do require changes.

Functional changes

Pivot

The Pivot control has been rewritten, and these changes affect event timing and performance. All Pivot control template parts have been renamed or replaced. Windows XAML app code that depends on the timing of Pivot may no longer work correctly. Apps that have dependencies on the Pivot control template must be updated. Change any app code that depends on Pivot timing, and update any code that has dependencies on the Pivot control template.

Background tasks

Apps must programmatically request access to run in the background. If your app registers for one or more of the following triggers, it must call RequestAccessAsync:

SystemTriggerType.NetworkStateChange

SystemTriggerType.InternetAvailable

SystemTriggerType.ServicingComplete

SystemTriggerType.TimeZoneChange

SystemTriggerType.UserPresent

SystemTriggerType.SessionConnected

SystemTriggerType.NetworkOperatorHotspotAuthenticationTrigger

SystemTriggerType.NetworkOperatorNotificationTrigger

DeviceTriggerType.DeviceServicing

DeviceTriggerType.DeviceUse

SystemTriggerType.CachedFileUpdated

SmartCardTrigger

These triggers will not fire if your app has not previously called RequestAccessAsync. This change allows users (through Battery Sense) to explicitly control which apps can run in the background.

The following example illustrates how to call RequestAccessAsync:

BackgroundAccessStatus status = await BackgroundExecutionManager.RequestAccessAsync();

You can call RequestAccessAsync on startup from the UI thread of your app. For more information, see BackgroundExecutionManager in the API documentation.

Background audio

Background audio in Windows Runtime XAML now uses the IBackgroundTask interface as an entry point. You can define your own implementation of the IBackgroundTask interface or use the default provided PhoneInternal.Media.BackgroundPlayback.DefaultBackgroundTask. The ActivateBackgroundObject API is deprecated, so apps that use this API must implement an entry point and IBackgroundTask to avoid throwing exceptions:

  1. Add the entry point in the AppX manifest.
  2. Implement the IBackgroundTask interface or use the default PhoneInternal.Media.Background.Playback.DefaultBackgroundTask.

ContentDialog

Windows Runtime XAML ContentDialog PrimaryButtonClick and SecondaryButtonClick events now have associated event handlers. If you are using these events, your app will no longer build. You can update your code to handle the new associated event handlers.

Button stretch alignment

Buttons no longer stretch in size to more than their content requires (Windows Phone 8 XAML buttons stretch to the full available vertical and horizontal space). Apps that depend on buttons to expand beyond their content now display smaller buttons. This might adversely affect the appearance of your app. You can configure buttons to exhibit the previous stretch alignment behavior by setting the HorizontalAlignment and VerticalAlignment properties to stretch.

Styles

Headers in common controls have been standardized with a single header style that all controls use: HeaderContentPresenterStyle. As a result, the following redundant styles have been removed:

  • ComboBoxHeaderThemeFontWeight 
  • DatePickerHeaderThemeFontWeight
  • SliderHeaderThemeFontWeight
  • TimePickerHeaderThemeFontWeight
  • ComboBoxHeaderForegroundThemeBrush     
  • DatePickerHeaderForegroundThemeBrush
  • SliderHeaderForegroundThemeBrush
  • TimePickerHeaderForegroundThemeBrush
  • ComboBoxHeaderThemeMargin
  • SliderHeaderThemeMargin

Because ToolTip is an unsupported control in Windows Phone (code-named “Blue”), the following styles have been removed:

  • ToolTipBackgroundThemeBrush
  • ToolTipBorderThemeBrush
  • ToolTipForegroundThemeBrush
  • ToolTipBorderThemeThickness
  • ToolTipContentThemeFontSize

Screen resolution calculation

Logical screen resolution is now calculated using device dpi to determine scale factor instead of physical display resolution. The minimum logical resolution is now 384 x 640 instead of 480 x 800. Windows XAML apps must now take into account different logical display resolutions. You must change any app code that assumes 480 x 800 resolution or uses absolute positioning or absolute dimensions.

Search button

When a foreground app is in full-screen mode, the user must double-tap the Search button to display the search box. This change prevents accidental search activation. Apps can programmatically opt in or opt out of full-screen mode. Full-screen mode is automatically enabled for the following experiences:

  • Photo viewer
  • Video viewer
  • Taking a photo
  • Capturing a video
  • Any app in with the Games category

The delay window for two taps is set by default to 2500 milliseconds (ms); therefore, an intentional tap on the Search button must be followed by a second tap within 2500 ms to activate Search while in full screen mode. The delay window can be changed by altering the following registry setting (the value of CustomHoldDelays is in ms):

HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\CustomHoldDelays

This setting is not visible to the app user.

As a side effect of this change, users must swipe down twice to open a minimized Notification Center bar when an app is in full-screen mode.

Sharing

ShareStatusTask and ShareLinkTask now route to the Share contract. Native social networks are no longer shown in the share picker. Broadcast sharing to native social networks is no longer supported. However, apps can continue to use ShareStatusTask and ShareLinkTask. When these tasks are invoked by an app, users will see the share picker so they can choose an app to share to. Status and link information supplied by the app is carried to the share target.

Users can no longer broadcast share to multiple networks. Users of Twitter, Facebook, Sina Weibo, and LinkedIn must use apps for these social networks to compose, post, and update. Facebook Blue is built into Windows Phone (code-named “Blue”), but users of the following must download an app:

Twitter
Sina Weibo
LinkedIn

Users can use the following workaround until all social network apps support the Share contract:

  1. In the app, tap share.
  2. Share to OneNote or mail.
  3. Copy information into the target app.

Account Manager

Account Manager now uses a Managed Service Account (MSA) stack instead of the Identify Client Runtime Services Library (IDCRL) stack for the primary Microsoft account. The IDCRL stack has been deprecated. Because of this change, existing primary Microsoft accounts will be in the Attention Required state. Users must re-enter credentials using two-step verification (TSV).

Users can do the following to re-enter user credentials:

  1. On the Settings page, tap email+accounts.
  2. Tap Microsoft account.
  3. A green sign-in page appears. Enter the credentials for the Microsoft account that you use on your phone. Tap Next.
  4. On the TSV page, complete the TSV with another device or a phone call.

Users who encounter low-memory issues on their phone may have to try this process a second time or complete the verification with another device.

Not all clients have migrated to the new MSA stack. Opt-in TSV Microsoft accounts will not work until the IDCRL stack is removed. This only applies for users who have turned on TSV. This does not apply in a situation in which a user is accessing sensitive data and TSV is required regardless of opt-in. Users can do the following to turn off TSV for a Microsoft account:

  1. On your computer, go to https://account.live.com/proofs/Manage.
  2. Sign in to your account.
  3. Turn off two-step verification.

OAuth

Google account users must configure their accounts to use OAuth for authorization, even for accounts that use Credential Service Provider (CSP) authentication. To add a Google account with OAuth authorization, users can do the following:

  1. On the Settings page, tap email+accounts.
  2. Tap Google.
  3. Tap through subsequent screens to finalize authorization settings.

Users may need to pan and zoom to complete authorization. This process may not work for Google accounts where two-step verification is required. Users who encounter low-memory issues on their phone may have to try this process a second time or use a different network (such as Wi-Fi) to successfully set up a Google account.

Emulator installation

The Windows Phone (code-named “Blue”) SDK does not provide emulator support, but this functionality is available in the optional Windows Phone 8.0 SDK. When you installVisual Studio without installing the optional Windows Phone 8.0 SDK, phone emulators are no longer installed. This change does not apply to Visual Studio Express because it installs the Windows Phone 8.0 SDK by default. When you install Visual Studio (except for Visual Studio Express) without accepting the Windows Phone 8.0 SDK option, you will not see emulators listed on the Visual Studio Device menu. However, you will see a new Download Emulator 8.1 option on the Device menu. If you want to install emulators, you can do one of the following:

  • During Visual Studio setup, under Optional Features to Install, select Windows Phone 8.0 SDK.
  • Alternately, if Download Emulator 8.1 … appears in the Visual Studio Device menu, click this option and then click Install to finish emulator installation.

Microsoft Ads SDK

Pre-release versions of the Ads SDK will produce the following error message:

Error Found: The banned file analyzer test detected the following errors:

o   The version of the file Microsoft.Advertising.Mobile.UI.Design.dll in your application has been flagged as insecure or otherwise not appropriate to ship.

o   The version of the file Microsoft.Advertising.Mobile.Common.winmd in your application has been flagged as insecure or otherwise not appropriate to ship.

o   The version of the file Microsoft.Advertising.Mobile.Display.winmd in your application has been flagged as insecure or otherwise not appropriate to ship.

o   The version of the file Microsoft.Advertising.Mobile.UI.winmd in your application has been flagged as insecure or otherwise not appropriate to ship.

However, apps using pre-release versions of the Ads ADK can still be on-boarded to the device. To eliminate this error, update or remove any references to the files listed in the error message. For more information about fixing banned file errors, see Fixing Banned File Errors.

This error is expected because Windows Store Certification requirements do not allow submission of apps based on pre-release versions of the Ads SDK; this error does not occur when you use the final release version of the Ads SDK.

API changes

We encourage you to move away from deprecated APIs to get the best performance from your app. Also, some API elements have moved to new namespaces.

The following API elements are deprecated.

API element

Replace with

Pivot.LoadingPivotItem

Pivot.PivotItemLoading

Pivot.LoadedPivotItem

Pivot.PivotItemLoaded

Pivot.UnloadingPivotItem

Pivot.PivotItemUnloading

Pivot.UnloadedPivotItem

Pivot.PivotItemUnloaded

Display.DisplayProperties

Display.DisplayInformation.GetForCurrentView

MediaPlayer.UriSource

MediaPlayer.SetUriSource

ActivateBackgroundObject

IBackgroundTask (see “Background Audio”)

NavigateThemeTransition

NavigationThemeTransition

ExitTarget

ExitElement

EntranceTarget

EntranceElement

IsExitTargetProvider

ExitElementContainer

TurnstileNavigationTransitionInfo

CommonNavigationTransitionInfo

PhoneFontSize19

TextStyleLargeFontSize

PhoneFontSizeMedium

TextStyleLargeFontSize

PhoneFontSizeLarge

TextStyleExtraLargeFontSize

PivotHeaderFontSize

PivotHeaderItemFontSize

PivotTitleFontSize

TextStyleLargeFontSize

SetBoundsForLayout

SetDesiredBoundsMode

BoundsForLayout

DesiredBoundsMode

ApplicationViewLayoutBoundsOption

ApplicationViewBoundsMode

VisibleBounds

UseVisible

CoreWindowsBounds

UseCoreWindow

Windows.UI.ViewManagement.Application.IsImmersive

Windows.UI.ViewManagement.ApplicationView.   SuppressSystemOverlaysWindows.UI.ViewManagement.ApplicationView.SuppressSystemOverlays

The following API elements have new types.

API element

Old type

New type

Pivot.Title

string

object

The following API elements have moved from the Windows.UI.Xaml.Phone namespace.

API element

New namespace

DatePickerFlyout

Windows.UI.Xaml.Controls

DatePickerFlyoutItem

Windows.UI.Xaml.Controls

DatePickerFlyoutPresenter

Windows.UI.Xaml.Controls

DateSelectionCompletedEventArgs

Windows.UI.Xaml.Controls

DateSelectionCompletedEventHandler

Windows.UI.Xaml.Controls

ItemsSelectionCompletedEventArgs

Windows.UI.Xaml.Controls

ItemsSelectionCompletedEventHandle

Windows.UI.Xaml.Controls

ListPickerFlyout

Windows.UI.Xaml.Controls

ListPickerFlyoutPresenter

Windows.UI.Xaml.Controls

PickerFlyout

Windows.UI.Xaml.Controls

PickerFlyoutPresenter

Windows.UI.Xaml.Controls

Pivot

Windows.UI.Xaml.Controls

PivotItem

Windows.UI.Xaml.Controls

PivotItemEventArgs

Windows.UI.Xaml.Controls

PivotItemLoadedEventHandler

Windows.UI.Xaml.Controls

PivotItemLoadingEventHandler

Windows.UI.Xaml.Controls

PivotItemUnloadedEventHandler

Windows.UI.Xaml.Controls

PivotItemUnloadingEventHandler

Windows.UI.Xaml.Controls

PivotSlideInAnimationGroup

Windows.UI.Xaml.Controls

SelectionCompletedEventArgs

Windows.UI.Xaml.Controls

TimePickerFlyout

Windows.UI.Xaml.Controls

TimePickerFlyoutPresenter

Windows.UI.Xaml.Controls

TimeSelectionCompletedEventArgs

Windows.UI.Xaml.Controls

TimeSelectionCompletedEventHandler

Windows.UI.Xaml.Controls

JumpListItemBackgroundConverter

Windows.UI.Xaml.Controls.Primitives

JumpListItemForegroundConverter

Windows.UI.Xaml.Controls.Primitives

LoopingSelector

Windows.UI.Xaml.Controls.Primitives

LoopingSelectorItem

Windows.UI.Xaml.Controls.Primitives

LoopingSelectorPanel

Windows.UI.Xaml.Controls.Primitives

PickerFlyoutBase

Windows.UI.Xaml.Controls.Primitives

PivotHeaderItem

Windows.UI.Xaml.Controls.Primitives

PivotHeadersControl

Windows.UI.Xaml.Controls.Primitives

ContinuumNavigationTransitionInfo

Windows.UI.Xaml.Media.Animation

NavigateThemeTransition

Windows.UI.Xaml.Media.Animation

SlideNavigationTransitionInfo

Windows.UI.Xaml.Media.Animation

TurnstileNavigationTransitionInfo

Windows.UI.Xaml.Media.Animation

DatePickerFlyoutPresenterAutomationPeer

Windows.UI.Xaml.Automation.Peers

LoopingSelectorAutomationPeer

Windows.UI.Xaml.Automation.Peers

LoopingSelectorItemAutomationPeer

Windows.UI.Xaml.Automation.Peers

LoopingSelectorItemDataAutomationPeer

Windows.UI.Xaml.Automation.Peers

PivotAutomationPeer

Windows.UI.Xaml.Automation.Peers

PivotItemAutomationPeer

Windows.UI.Xaml.Automation.Peers

TimePickerFlyoutPresenterAutomationPeer

Windows.UI.Xaml.Automation.Peers

Manifest changes

MediaPlayer background tasks

Instantiating a MediaPlayer in a second process by specifying a controlChannel and ServerName in the manifest (to trigger a background process) is no longer supported. Apps that specify controlChannel and ServerName in the manifest will throw an exception instead of launching a background process. You can modify your manifest so that it specifies the background process using the same syntax as for a Windows 8.1 background task. In the Windows 8.1 model, the server name is set implicitly, and there is no controlChannel to specify.

Here is an example of a manifest entry that specifies a background task using the Windows 8.1 model:

<Extensions>
  <Extension Category=”windows.backgroundTasks” EntryPoint=”Tasks.MyBackgroundTask”>
    <BackgroundTasks>
           <Task Type=”audio” />
    </BackgroundTasks>
  </Extension>
</Extensions>

For more information, see Creating a device background task in Windows 8.1 (Windows Store device apps).

Copyright and confidentiality statements

This document is provided “as-is”. Information in this document, including URL and other Internet Web site references may change without notice.

Some examples depicted herein are provided for illustration only and are fictitious. No real association or connection is intended or should be inferred.

This document does not provide you with any legal rights to any intellectual property in any Microsoft product. You may copy and use this document for your internal, reference purposes and for no other purpose without the express written permission of Microsoft Corporation.

© 2014 Microsoft Corporation. All rights reserved.

Microsoft, Direct3D, Hyper-V, Silverlight, Visual Studio, and Windows are trademarks of the Microsoft group of companies.

wp8.1 sdk preview 预览版的更多相关文章

  1. [下载] VS 2013 Update 4 & 社群版 (Visual Studio Community) & VS 2015 Preview预览版

    这是我的备份,原文请看http://www.dotblogs.com.tw/mis2000lab/archive/2014/11/13/vs2013_update4_community_vs2015_ ...

  2. Spark3.0 preview预览版尝试GPU调用(本地模式不支持GPU)

    Spark3.0 preview预览版可以下载使用,地址:https://archive.apache.org/dist/spark/spark-3.0.0-preview/,pom.xml也可以进行 ...

  3. Blazor client-side Preview 预览版 如何调试 Debug

    首先我们使用最简单的模板案例,里面有一个Counter计数器,你可以在创建模板中找到. 首先需要设置运行调试方式为IIS Express.这意味着,MAC可能不能使用调试. 然后开启运行而不调试(Ct ...

  4. visual studio 2015预览版系统需求

    visual studio 2015预览版的系统需求跟visual studio 2013的一样. 支持visual studio 2015 preview的操作系统:Windows 8.1(x86 ...

  5. WP8没有开发者账号升级GDR3预览版的方法

    很多希望尝鲜WP8 GDR3的朋友一样希望提前体验GDR3的效果,但苦于没有开发者账号而不得其门!今天为大家带来普通账号升级GDR3的方法! 工具/原料 WP8智能手机 可用wifi热点 方法/步骤 ...

  6. Android 发布可穿戴设备 SDK 的开发者预览版

    今早上安卓官网查资料,发现网站上赫然显示着"Android Wear"几个大字.难道……?点进去看,果然,Android发布了可穿戴设备的SDK的开发者预览版. 其中这第五张图…… ...

  7. 宣布发布 Windows Azure SDK 2.2,正式发布 Windows Azure Backup 和 Hyper-V 恢复管理器预览版

    开发人员正逐渐转向云计算,因为它具有众多优势,包括成本.自动化和让开发人员专注于应用程序逻辑的能力.我们很高兴地宣布,继推出 Visual Studio 2013 之后,今天将发布 Windows A ...

  8. Win10《芒果TV - Preview》官方指定预览版 - 重要使用注意事项

    Win10<芒果TV - Preview>官方指定预览版,最新的改进和功能更新将会此版本优先体验. 重要使用注意事项: 1.因为方便过审核,默认将会员相关的操作提示简化: 2.使用中务必手 ...

  9. 微软.NET CORE 3.0 预览版 7 发布:大幅减少 SDK 空间大小

    据悉,这个预览版是 .Net Core 3 中重要的版本,可以视为原计划在 7 月发布的 RC 版本 (引自微软 .NET Core 首席 Program Manager Richard 先生原话), ...

随机推荐

  1. Github开源项目单

    以下涉及到的数据统计与 2019 年 5 月 1 日 12 点,数据来源:https://github.com/trending/java?since=monthly . 下面的内容从 Java 学习 ...

  2. split命令:文件切割

    split命令:文件切割 有时候文件过大,导致不能正常使用,可以用split进行切割. 命令参数: split [选项] [要切割的文件] [输出文件名前缀] -a, --suffix-length= ...

  3. DBAplus社群线上分享----Sharding-Sphere之Proxy初探

    功能 Cobar Mycat Heisenberg Shark TDDL Sharding-JDBC 是否开源 开源 开源 开源 开源 部分开源 开源 架构模型 Proxy架构 Proxy架构 Pro ...

  4. JavaScript 事件——“事件类型”中“HTML5事件”的注意要点

    contextmenu事件 该事件用以表示何时应该显示上下文菜单,以便开发者取消默认的上下文菜单,转而提供自定义的菜单. 因为该事件属于鼠标事件,所以其事件对象中包含与光标位置有关的所有属性.如: & ...

  5. Brackets前端开发编辑器

    http://www.cnblogs.com/xiazdong/p/3550148.html http://blog.csdn.net/shinesun001/article/details/5348 ...

  6. 生产环境如何快速跟踪、分析、定位问题-Java

    我相信做技术的都会遇到过这样的问题,生产环境服务遇到宕机的情况下如何去分析问题?比如说JVM内存爆掉.CPU持续高位运行.线程被夯住或线程deadlocks,面对这样的问题,如何在生产环境第一时间跟踪 ...

  7. Ubuntu 16.04 not a com32r image

    安装Ubuntu16.04,出现题目中的错误,解决方法如下 重点:开机后按TAB键,在随后出现的命令行提示符中输入live 既可,之后的过程就是正常的过程了!

  8. Lucene-安装和运行Demo程序

    Lucene是什么 Lucene是一款高性能.可扩展的信息检索工具库.- Lucene In Action Lucene版本:7.1 一.下载安装包 https://lucene.apache.org ...

  9. LR中排序脚本

    /* * LoadRunner Java script. (Build: 670) * * Script Description: * */ import lrapi.lr; public class ...

  10. 洛谷 P2872 [USACO07DEC]道路建设Building Roads

    题目描述 Farmer John had just acquired several new farms! He wants to connect the farms with roads so th ...