Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android Implementing Designs for Android Adding Push Notifications from Parse.com Preparing User-to-User Push Notifications

Timothy Boland
Timothy Boland
18,237 Points

Adding Push Notifications from Parse.com - Code Challenge 2 of 5

Now, save currentUserId in the ParseInstallation variable using the put() method. Use the key "userId".

I've tried every combination of installation.put() that i can think of, but i cant tell what the answer is suppose to be...with code ommitted, i cant tell what im missing.

getting annoyed.

1 Answer

Tom Wierman
Tom Wierman
3,002 Points

I think it may be that you need to use the quotes on "userId". That got me cause I was used to using a variable. And I agree, the challenges can be annoying...

Timothy Boland
Timothy Boland
18,237 Points

Doh! Yup...Thanks Tom. I apologize to Treehouse for the "annoyed" comment I made. I wouldnt be where Im at now if it wasnt for this site. Thank You.