Notice»

Recent Post»

Recent Comment»

Recent Trackback»

Archive»

« 2024/4 »
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30

 
 

Mango Training Course에 있는 Weather Service Push notifications 실습시 주의해야 될사항

서비스에서 Self Hosting을 사용하므로 관리자 모드로 Visual Studio를 실행해야 됩니다.

실습1 - Task1.
 7번 
 RegistrationService 클래스 추가시 Service 폴더에서 추가(Add) 하지 않으면 namespace가 달라져서 서비스가 제대로 동작 못함(버그 없음)
 32번
기존 using 아래에 아래 소스 추가하기(Service 이름 잘못됨)

using System.Collections.ObjectModel;
using System.IO;
using System.Xml;
using WPPushNotification.ServerSideWeatherSimulator.Service; // Service이름 잘못됨
using WindowsPhone.Recipes.Push.Messasges;
 33번 - 버그!
private RawPushNotificationMessage rawPushNotificationMessage = new RawPushNotificationMessage();
위 코드를 아래처럼 인자값을 넣어서 처리해야 WCF Rest서비스가 제대로 테스트 됩니다.
private RawPushNotificationMessage rawPushNotificationMessage = new RawPushNotificationMessage(MessageSendPriority.High);

실습2 -
Task1. 
WPPushNotification.ServerSideWeatherSimulator 프로젝트에서  문서에는 Private variables 영역에 아래 코드가 빠짐
 private TilePushNotificationMessage tilePushNotificationMessage = new TilePushNotificationMessage(MessageSendPriority.High);
 private ToastPushNotificationMessage toastPushNotificationMessage = new ToastPushNotificationMessage(MessageSendPriority.High);
:

안녕하세요. 99퍼센트입니다.

6월 10일 데브멘토 세미나인 실전 윈도우폰 망고 앱 디자인 & 개발에서
국내 최초로 Windows Phone의 Push Notification관련 발표를 진행하였습니다. ^^;;
http://www.devmento.co.kr/devmain/seminar/edumento_detail.jsp?dataSeq=101




제가 발표했던 Windows Phone Mango에서 Push Notification 활용의 내용은
기존 Windows Phone 7에서 Push Notification의 소개와 활용 방법, 타 플랫폼과의 간단 비교
그리고 Mango에서 추가된 기능의 소개였습니다.






Demo Download

데모에서
1. SendNotification과 2. UsingPushNotifications은 기존 Windows Phone의 일반적인 사용법을 보여드린 예제입니다. - 발표자료 12장
3.TileSample은 Mango에서 추가된 Local Tile 타일 예제입니다. - 발표자료 16장

1. SendNotification
MSDN Sample에 있는 Raw Notification,Tile Notification,Toast Notification 예제에서
각각 존재하는 클라우드 서비스(실제 Notification을 보내는 소스)를 통합해서 테스트하기 편하게 바꿔놓았습니다.
예제가 간단하므로 이예제로 소스를 설명드렸습니다. URI는 수동으로 입력됩니다.

2. UsingPushNotifications
7.0 Training Kit에 있는 Push Notification 소스입니다. MSDN 예제보다 좀 복잡해서 
MSDN 예제를 먼저 보시고 구조를 이해하신 후에 한글로 번역된 문서와 함께 보시면 이해가 쉬우실 겁니다.
이예제가 7.5 Mango용으로 나와있어서 마지막에 Mango에서 추가된 내용으로 보여드리려고 했으나
현재 7.5용 Training Cource에서는 이예제가 에러가 납니다. 관련 포스팅은 추후에 하겠습니다. 

3. TileSample
MSDN Sample에 있는 예제 그대로 입니다.
Mango에서 추가된 Local Tile 관련 예제입니다.

그리고 그날 질문 받았던 내용들이 거의 Raw Notification에 관한 내용이었으며
App과 Cloud Service와의 연결방법, Cloud Service와 MPNS와의 인증서 관련
질문도 있었습니다. 관련 내용도 추후에 포스팅하도록 하겠습니다.

: