Google Cloud Messaging using PHP

Google Cloud Messaging

Using PHP to send a message to a Google Cloud Messaging registered device is quite simple. In this example we'll be using curl to create a message request to send to the Google GCM server.

The code shown in this example is just going to demonstrate how to send a message to a registered device ID.
Continue reading Google Cloud Messaging using PHP

Google Cloud Messaging using C#

Google Cloud Messaging

Sending a notification to an Android device just keeps getting simpler and simpler. The current implementation of Google Cloud Messaging provides developers with a very simple way to send push notifications to a particular device.

What I'm going to show here is how to send a notification to a device once it's registered with your server.
Continue reading Google Cloud Messaging using C#

Native Extension Tip // Finding an Android Resource ID

Often when writing native extensions we've been faced with the problem of retrieving resources from the library. The official way to do this is to use the FREContext instance and the getResourceById() function. However there are several times when you'll want to access a resource packaged in your extension when the application has not been initialised (for example, onReceive events with a BroadcastReceiver), which initially seems impossible as you won't have access to your FREContext as yet.

There is however a simple workaround using the code below. You'll still need to be able to determine the package name of your application, which you can generally get from the Android Context.getPackageName().
Continue reading Native Extension Tip // Finding an Android Resource ID

Native Extension // Google Cloud Messaging (GCM)

After a few weeks, we've updated our Push Notification extension to support the newly introduced Google Cloud Messaging, which depreciated C2DM. So once again you'll be able to receive push notifications in your AIR applications on Android.

Google Cloud Messaging

It's now available as part of our extension package here. Happy messaging!

ZAPPP – Mobile Apps

Distriqt has recently entered into a new relationship with One Meaning Communicated Differently. The new entity called ZAPPP will develop a mobile application platform for musicians in Australia.

This represents an exciting new direction for distriqt, and defines new areas of digital development we are now focused on.

We have developed apps for some of Australia's biggest bands, including The Living End, Angus & Julia Stone, Grinspoon, Josh Pyke, and The Getaway Plan - just to name a few.

Says co-founder Jai Al-Attas...

The whole point of starting ZAPPP was that we didn’t want to just create mobile versions of band websites and call them an App. We think that Apps are useless unless they provide value to both the user and the Artist, so we created the ZAPPP feature which allows the Artist to have a direct & meaningful relationship with the User by offering them exclusive incentives and rewards through the functionality of our Apps.