windows phone mango에서 push notification 활용
DESCRIPTION
TRANSCRIPT
Windows Phone Mango에서 Push Notification 활용
SmartShare주신영 ([email protected])
Windows Phone Microsoft Corporation
Introduction 주신영
SmartShare CEO 중진공 청년창업사관학교 사용자를 위한 편리한 공유 서비스 원격제어 앱 시리즈
WinMoDev 부시삽 ( 윈도우폰 개발자 그룹 ) Blog : bit1010.tistory.com Twitter : @bit1010
In Marketplace Presenter Techdays Korea
Windows Phone Microsoft Corporation
Agenda Push 와 Tiles 을 위한 일반적인 정보
Push Notification 이란 ? UX 구성요소 Architecture 타 플랫폼과의 비교 시나리오 / 인기있는 앱
망고에서 추가된 기능 New APIs API Demo Push Features
Tile/Toast Push Demo
Windows Phone Microsoft Corporation
Push Notification 이란 ? Notification : 알림 또는 통보
OS 제공자가 폰의 한정된 리소스와 이동통신망의 과부화를 줄여주기 위해 기본적으로 제공하는 서비스
단문메세지 (SMS,IM), SNS, 생활형 (Weather), 게임 등에 사용
기존 OS 들은 간단한 텍스트 정도만 지원했으나 윈도우폰에서는 Raw데이터를 지원해서 실제 데이터를 전부 보낼 수 있으며
Live Tile 을 통해 좀 더 많은 정보를 보여줄 수 있음
Windows Phone Microsoft Corporation
Push Notification UX 구성요소 Toast notifications Tile notifications
시작에 고정된 기본 타일 Count, Title, Background
Raw notifications
7
Title
Count
Title
Background
Windows Phone Microsoft Corporation
Push Notification Architecture
HTTP Post to URI with payloadPush URI request/response
Push enabled application
Push client service
1
Push client/server negotiation
2
3
Push URI to Cloud Service 4
5
Push notification to device6
Cloud Service
MPNS
Windows Phone 7
Windows Phone Microsoft Corporation
Android Notification Architecture
C2MS(Android Cloud to Device Messaging)
Proyo(2.2) 부터 지원
구글 아이디로 인증
Windows Phone Microsoft Corporation
Android Notification UX
Windows Phone Microsoft Corporation
iPhone Notification Architecture
APNS(Apple Push Notification Service)
Remote Notification (iOS 3.0)
Local Notification (iOS 4.0)
Windows Phone Microsoft Corporation
iPhone Notification UX
Windows Phone 7 Guide for iPhone Application Developershttp://windowsphone.interoperabilitybridges.com/articles/chapter-8-introduction-to-windows-phone-7-notifications-for-iphone-developers
Windows Phone Microsoft Corporation
Text Me Unread Tile Direct Toast
Send to WP7 Link Tile Link Toast
WP7applist App Count Tile
시나리오 / 인기 앱 Beezz
Unread Tile Direct Toast
Weather Apps Weather Tile Warning Toast
Chess by Post Turn Tile Move Toast
Windows Phone Microsoft Corporation
Demo
Push Notification
Live Tile, Toast, Raw
Windows Phone Microsoft Corporation
윈도우폰 망고에서 향상된 기능
Windows Phone Microsoft Corporation
Live Tiles – Local Tile API Local tile updates (not push)
앱이 foreground 또는 background 에 있을 때 모든 속성을 컨트롤 가능 Calorie Counter, Sticky Notes 등의 앱을 개발 가능
MultiTile! Create/Update/Delete 페이지를 직접 실행 및 제어
Application TileLaunches main app experience
Secondary TileLaunches world news page
Secondary TileLaunches local news page
Windows Phone Microsoft Corporation
Back of tile 업데이트 앱이 foreground 또는 background 에 있을 때 모든 속성을 컨트롤
가능 Content, Title, Background
Live Tiles – Local Tile API…
Title
Content
Title
BackgroundContent string is bigger
Windows Phone Microsoft Corporation
Demo
Live Tiles – Local Tile API
MultiTile, Back of Tile
Windows Phone Microsoft Corporation
Push Notifications – 새로운 기능 ! MultiTile/Back of Tile 지원
여러 지역의 날씨 정보 , 뉴스 카테고리 , 스포츠 팀 점수 , 트위터 즐겨찾기
응용 프로그램에 속하는 모든 tile 을 업데이트할 수 있다 . API 변경은 없다 ! – BindToShellTile 로 모든 tile 에 바인딩 서비스 및 업데이트를 직접 새로운 속성을 사용하여 Tile ID 로 보낸다 . back 속성을 위한 3 가지 요소 <wp:Notification xmlns:wp="WPNotification">
<wp:Tile Id=“/WorldNews.xaml?how=start”>
<wp:BackgroundImage>http://www.contoso.com/worldTile.png</wp:BackgroundImage> <wp:Count>4</wp:Count> <wp:Title>World News Updates</wp:Title> <wp:BackBackgroundImage>http://www.contoso.com/worldBack.png</wp:BackBackgroundImage> <wp:BackContent>Peace talks resume</wp:BackContent> <wp:BackTitle>Middle East News</wp:BackTitle> </wp:Tile>
</wp:Notification>
Windows Phone Microsoft Corporation
Push Notifications – 새로운 기능 ! Deep Toast
사용자가 곧바로 볼 수 있는 어플의 정보 : 날씨 알림 , 속보 , 트윗 메시지 등 기존 navigation 사용 (OnNavigatedTo) API 변경은 없다 ! – BindToShellToast 로 모든 작업 가능 toast 로 쿼리문을 이용해 1 개의 요소를 보낼 수 있다 .
<wp:Notification xmlns:wp="WPNotification">
<wp:Toast>
<wp:Text1>World News Updates</wp:Text1> <wp:Text2>Egypt braces for march in palace square</wp:Text2> <wp:Param>/detailsPage.xaml?storyid=186435</wp:Param> </wp:Toast>
</wp:Notification>
Windows Phone Microsoft Corporation
Demo
Push Notifications – 새로운 기능 !
MultiTile, Back of Tile, Deep Toast
Windows Phone Microsoft Corporation
Summary Push Notification
Toast, Tile, Raw 추가된 기능
MultiTile(Local, Remote) Back of Tile(Local, Remote) Deep Toast(Remote)
API 변경 없음 Tile 클래스 추가
ShellTile StandatdTileData
Windows Phone Microsoft Corporation
Reference App HUB
http://create.msdn.com Windows Phone 7 앱 시리즈
http://msdn.microsoft.com/ko-kr/gg415576 윈도우폰 개발자 그룹 ( 윈모데브 )
http://www.WinMoDev.net Mango Training Course
http://msdn.microsoft.com/en-us/wp7trainingcourse.aspx MSDN Sample
http://msdn.microsoft.com/en-us/library/ff431744(v=VS.92).aspx
Thank you