The Space For App Developers

Beyond Plain Old HTML Objects

as3c2dm – AIR native extension to push notifications with C2DM

with 76 comments

In this short video recording you will see my new and first AIR native extension (ANE) that I created for C2DM (Android Cloud to Device Messaging Framework).

C2DM allows you to push notifications to your Android applications. The cool thing about it is that your application doesn’t have to run in the background in order to receive messages. In this case, my ANE creates a notification with a specified ticker, title and text. When the user taps on the notification it runs an AIR application and passes the sent message text that is displayed in the app. Check out the magic for yourself in the video below.

The source code is available here. You can also download the packaged ANE and the C2DM Messanger app from here and here.

Check out some more already built ANE’s here.

Written by Piotr Walczyszyn

September 29th, 2011 at 6:14 pm

Posted in Examples,Recording

Tagged with , , , ,