These are the relevant changes to AndroidManifest.xml (com.xx.yy has
been used in place of the app package)
<service android:name=".C2DMReceiver" />
<permission android:name="com.xx.yy.C2D_MESSAGE"
android:protectionLevel="signature" />
<uses-permission android:name="com.xx.yy.C2D_MESSAGE" />
<uses-permission
android:name="com.google.android.c2dm.permission.RECEIVE" />
<uses-permission android:name="android.permission.INTERNET" />
<receiver android:name=".C2DMReceiver"
android:permission="com.google.android.c2dm.permission.SEND">
<intent-filter>
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
<category android:name="com.xx.yy" />
</intent-filter>
<intent-filter>
<action android:name="com.google.android.c2dm.intent.REGISTRATION" /
>
<category android:name="com.xx.yy" />
</intent-filter>
</receiver>
Any changes needed?
Thanks.
On Feb 10, 1:59 am, abdul waheed <
abdulwahee...@gmail.com> wrote: