Thursday, January 27, 2011

Generating the Apple Push Notification SSL certificate on Mac:

Generating the Apple Push Notification SSL certificate on Mac:


1. Log in to the iPhone Developer Connection Portal and click App IDs

2. Ensure you have created an App ID without a wildcard. Wildcard IDs cannot use the push notification service. For example, our iPhone application ID looks something like AB123346CD.com.product.yoursiphone

3. Click Configure next to your App ID and then click the button to generate a Push Notification certificate. A wizard will appear guiding you through the steps to generate a signing authority and then upload it to the portal, then download the newly generated certificate. This step is also covered in the Apple documentation.

4. Import your aps_developer_identity.cer into your Keychain by double clicking the .cer file.

5. Launch Keychain Assistant from your local Mac and from the login keychain, filter by the
Certificates category. You will see an expandable option called “Apple Development Push Services”

6. Expand this option then right click on “Apple Development Push Services” > Export “Apple Development Push Services ID123″. Save this as apns-dev-cert.p12 file somewhere you can access it.

7. Do the same again for the “Private Key” that was revealed when you expanded “Apple Development Push Services” ensuring you save it as apns-dev-key.p12 file.

8. These files now need to be converted to the PEM format by executing this command from the terminal: openssl pkcs12 -clcerts -nokeys -out apns-dev-cert.pem -in apns-dev-cert.p12

9. openssl pkcs12 -nocerts -out apns-dev-key.pem -in apns-dev-key.p12

10. If you wish to remove the passphrase, either do not set one when exporting/converting or execute: openssl rsa -in apns-dev-key.pem -out apns-dev-key-noenc.pem

11. Finally, you need to combine the key and cert files into a apns-dev.pem file we will use when connecting to APNS: cat apns-dev-cert.pem apns-dev-key-noenc.pem > apns-dev.pem

Please check with ios5, as i am not that much updated with push notification implementation in ios5.

Wednesday, January 19, 2011

Augmented reality (AR)

Hi,
Guys this week i had started with one new concept of Augmented reality (AR).I search lot for this concept but nothing is there on internet and still i am working to prepare demo on this.

Following is something about this big concept:

Augmented reality (AR) is a term for a live direct or indirect view of a physical, real-world environment whose elements are augmented by computer-generated sensory input,such as sound or graphics. It is related to a more general concept called mediated reality, in which a view of reality is modified (possibly even diminished rather than augmented) by a computer. As a result, the technology functions by enhancing one’s current perception of reality. By contrast, virtual reality replaces the real-world with a simulated one.

http://www.youtube.com/watch?v=DpmAyen4sv0



Very soon i will be here with one fantastic demo code on this.