I'm working on building a c2dm module for my Titanium project. (I actually want gcm, but the only change is to the sender_id, so that shouldn't be a problem).
However, I'm running into a lot of trouble when trying this. I tried using the module Kuraturpa wrote, but I can't get it to build(compilation error), and it doesn't include any .jar file for some reason. I tried following this guide, but I again ran into some build errors (this time, exec returns 2, apparently because it can't find gpref?)
Has anyone actually successfully gotten c2dm to work with 2.1.0.GA? Can they share that success? I can't believe this is this difficult.
Turns out I needed to install command line tools for macosx. This can be done from the apple developer website, under developer tools.
C2DM is deprecated since July 2012, you need to use GCM (Google Cloud Messaging) or ACS (Appcelerator Cloud Services) to integrate push-notifications.
GCM: http://support.google.com/googleplay/android-developer/bin/answer.py?hl=en&answer=2663268 ACS: http://www.appcelerator.com/cloud
Hi all, there's a new GCM module in the Marketplace called uPush for Android push messages, got it working with my project today in about 10 minutes, saved me so much time.
Think you can help? Login to answer this question!