Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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.