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

Unable to add Test Object to Parse.com

Hi guys,

Please assist. I am unable to add the Test object to Parse. The app launches without any errors and I have no clue why the data is not being added to the back end.

Any pointers are most welcome.

Tina

This is the code as per Parses' instruction to add the TestObject, and I have adopted it as is:

    ParseObject testObject = new ParseObject("TestObject");
    testObject.put("foo", "bar");
    testObject.saveInBackground();

2 Answers

Hey there,

I've never done this course but could the trouble that you capitalized "TestObject" when it should be testObject.

I've pasted the code I am using as is from the Parse website. "TestObject" is capitalised only in the forum question.

Thanks for trying to help.

Hi guys,

Managed to resolve the issue. Data wasn't being added to Parse because there was no communication between my app and Parse.com i.e. Internet wise. I had to configure my emulator's wireless connection to use a manual proxy since the network I am connecting to uses an enterprise proxy server.

The link below was most helpful. http://thesoaguy.com/?p=179

Happy coding guys.