Skip to main content

Posts

Showing posts from October, 2010

Push Notification

How to send push notification by web interface: http://www.macoscoders.com/2009/05/17/iphone-apple-push-notification-service-apns/comment-page-1/ Other Link:  1. http://iphonesdkdev.blogspot.com/2009/04/apns-client-development-certificate.html 2. http://mobiforge.com/developing/story/programming-apple-push-notification-services   Commands to create pem file: openssl pkcs12 -clcerts -nokeys -out cert.pem -in cert.p12 openssl pkcs12 -nocerts -out key.pem -in key.p12 openssl rsa -in key.pem -out key.unencrypted.pem cat cert.pem key.unencrypted.pem > ck.pem error_reporting(0); $deviceToken = '144ed2a746e7fe2de57aa9307a91e6a2f001cc62f3608515a46a1b90c8625e06'; // Passphrase for the private key (ck.pem file) // $pass = ''; // Get the parameters from http get or from command line $message = $_GET['message'] or $message = $argv[1] or $message = 'Message received from javacom'; $badge = (int)$_GET['badge'] or $badg...