Thanks for the heads up! I've just submitted a change to fix this.

-- 
Trevor Johns
Google Developer Programs, Android
http://developer.android.com

On Fri, Jul 30, 2010 at 8:21 AM, feras <[email protected]> wrote:

> Well, its not that big deal but i found a Syntax error in the code for
> C2DM Registering from this site
> http://code.google.com/android/c2dm/index.html
> at the error in the line below .
>
>         registrationIntent.putExtra("app",
> PendingIntent.getBroadcast(this, 0, new Intent(), 0);
>
> where they missing the end ")" and here's my magical fix :)
>
>         registrationIntent.putExtra("app",
> PendingIntent.getBroadcast(this, 0, new Intent(), 0));
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to