What*s New with Windows Phone Silverlight Apps!
Download
Report
Transcript What*s New with Windows Phone Silverlight Apps!
Что нового в Silverlight для
Windows Phone 8.1
Сергей Пугачёв
@spugachev
Premier Field Engeneer
XAML
Storage SD Card
Device Discovery (Devices.Enumeration)
Streams (Input/Output/RandomAccess…)
Media Editing (MediaStreamSource, MediaProperties)
Media Transcoding
Graphics Enhancements WIC
Share Source
Share Target (Provider)
RFComm
App 2 App Single Sign On
Background Tasks
Password Credentials
WNS Push Notification Trigger
WNS Notifications (Badge/Tile/Toast/Notification Center)
InputPane
GeoFencing
NFC Secure Payment
Known Folders (Audio/Video/Photos/…)
Appointments/Calendar API enhancements
Appointments/Calendar brokered UI
Background Transfer
Data Enhancements (Data.XML)
Graphics Enhancements D2D/Dwrite (Win32)
Sensors (Accelerometer, Light, compass, gyro, magnet, orientation,…)
Email with Attachments
Data: Backup/Restore
Data: Roaming
Networking (HTTP, Connectivity, ...)
Audio Effects
Media Capture
Bluetooth 4.0 (Low Energy)
Web Authentication
Storage Enhancements (FileIO, PathIO, AccessCache, Compression)
Social RT
Storage (Picker Provider, Provider)
MSA (Windows.Security.Authentication.OnlineId )
AtomPub, Http, Syndication (Windows.Web)
Media Foundations (win32)
Advertising ID
Accessibility (UIA, Large Text, High Contrast)
Precise Caret Placement - No APIs
SD Card Support
Share Source
Share Target
WNS Push Notification Trigger
WNS Notifications
(Badge/Tile/Toast/Notification Center)
Storage (Picker Provider, Provider)
GeoFencing
Bluetooth 4.0 (Low Energy)
Background Tasks
Known Folders (Audio/Video/Photos/…)
Appointments / Calendar Enhancements
Email with Attachments
Web Authentication
Data Roaming
Accessibility (UIA, Large Text, High
Contrast)
Возможности, доступные только в
Silverlight
Lenses Support
VOIP Support
Camera Capture Task
Clipboard APIs
Lock Screen Wallpaper API
Ringtone Provider / Alarm & Reminders
Simple Sound effects (XNA)
Run Under Lock Screen
Photos Extensibility
Search Extras
Feature
Silverlight 8.0
Silverlight 8.1
XAML
Background Audio
Continuous Background Execution Agents (GPS Apps)
Silverlight 8.0
XAML
C#/VB
.NET BCL
WinRT
WP 8.0
Libraries
.NET BCL
WinRT
Windows Phone OS
8.1 Libraries
Periodic & ResourceIntensive Background
Agents
SL Periodic &
Resource-Intensive
Background Agents
WinRT Background
Tasks
WinRT Background
Audio
16
WNS лечше!
MPNS
?
MPNS
MPNS
или
?
WNS
WNS
• Оповещения
доставляются в течение 5
секунд
• Не нужно управлять
сертификатами: WNS
использует OAuth вместо
SSL сертификатов
• Всё аналогично Windows
Store приложениям
• Много улучшений по
сравнению с MPNS
20
21
<?xml version="1.0" encoding="utf-8"?>
<Package xmlns=http://schemas.microsoft.com/appx/2010/manifest ... />
...
<Applications>
<Application Id="App" Executable="AGHost.exe" EntryPoint="MainPage.xaml">
<m3:VisualElements
DisplayName="TileUpdateAfterDeactivation"
Square150x150Logo="Assets\SquareTile150x150.png"
Square44x44Logo="Assets\Logo.png"
Description="TileUpdateAfterDeactivation"
ForegroundText="light"
BackgroundColor="#00b2f0">
<m3:DefaultTile Square71x71Logo="Assets\SquareTile71x71.png"/>
<m3:SplashScreen Image="Assets\SplashScreen.png" />
<m3:ApplicationView MinWidth="width320"/> <!--Used in XAML Designer. DO NOT REMOVE-->
</m3:VisualElements>
...
</Package>
22
Тип приложения
Framework
Новое приложение
XAML or Silverlight
Windows Store App
XAML
Lock Screen Image (social, weather, sports, ..)
Silverlight 8.x
Камера (линзы) или VOIP
Silverlight 8.x
Музыкальное приложение
Silverlight 8.0 or XAML
Существующее Silverlight приложение
Silverlight 8.x or XAML
Sergey Pugachev
[email protected]