본문 바로가기

스마트폰 프로그래밍30

Android GCM 활용해서 푸시 메세지 전송기 GCM의 특징GCM의 특징은 아래와 같다. Android 애플리케이션에 메시지를 보낼 수있는 3'rd Party 애플리케이션 서버를 허용한다.GCM은 메시지의 전달과 순서를 보장하지 않는다.메시지를 수신하기 위해 Android 디바이스의 Android 애플리케이션이 실행되고 있을 필요는 없다. 애플리케이션이 적절한 broadcast receiver와 권한을 설정하는 경우, 메시지가 도착했을 때, 시스템은 Intent broadcast가 Android 앱을 깨운다.메시지 데이터를 위해 내장 사용자 인터페이스 및 기타 다른 처리는 제공하지 않고 있다. GCM은 단순히 원시 메시지 데이터를 그대로 Android 앱에 전달하고, 메시지의 처리는 앱이 완벽하게 제어 할 수 있다. 예를 들어 애플리케이션은 노티를 .. 2013. 4. 24.
Google Cloud Messaging for Android Google Cloud Messaging for AndroidGoogle Cloud Messaging for Android (GCM) is a service that allows you to send data from your server to your users' Android-powered device. This could be a lightweight message telling your app there is new data to be fetched from the server (for instance, a movie uploaded by a friend), or it could be a message containing up to 4kb of payload data (so apps like in.. 2013. 4. 24.
How to build an Apple Push Notification provider server (tutorial) One of the widely anticipated features of the new iPhone OS 3.0 is push notifications which allow messages to be sent directly to an individual device relevant to the application that has been installed. Apple have demoed this as useful for news alerts, or IM notifications however it fits in perfectly with the nature of our server monitoring service, Server Density.As part of the product, we hav.. 2013. 4. 24.
iPhone Push Notification(APNS)를 PHP에서 보내는 방법 기존에 Java기반에서 APNS 시스템을 구축하여 사용하는 글을 작성한 적이 있습니다. Java에서는 무언가 어렵지 않게 푸시 메시지를 보낼 수 있었습니다만 PHP는 조금 복잡합니다. 핵심적인 내용은 이전 글을 참고하시도록 하시고 이번 글에서는 PHP에서 보내는 방법에 대해 간단히 정리해 보겠습니다. 푸시 전송용 인증서 생성우선 위와 같이 키체인 접근을 실행하도록 합니다. 그리고 (1)내 인증서를 선택하신후에 자신의 어플의 AppID와 동일한 (2)Apple Development iOS Push Services를 찾도록 합니다. 앞에 있는 화살표를 클릭하여 이것을 확장 할 수 있습니다. 확장하면 위와 같이 (3)개인키가 밑으로 확장됩니다. (2)Apple Development iOS Push Servic.. 2013. 4. 24.