Concrete example on how to add custom user properties in code from android studio

Hello!!!

I’ve really glad for backendless. Many thanks to the team!!! I intend to build a photo messaging app and after a long deal of time, seeking alternatives to parse, I came to know backendless! Super cool mbaas!

I’ve gone through your documentation, and as simple as it should be, I don’t see an example based directive on how to add a custom user property in java code from android studio.

From the console, yep, it’s done in a jiffy. But a clear example on how to link this to my app project is what I seek. For example in your docum, User Properties, you acknowledge one might need birthday, age etc more properties. You show the syntax, but there’s no clear example at all for it, to see how to proceed and get it well linked in code from app to backend, and functional. We learn better via examples to see how the syntax you’re outlining is to be applied.

Thanksss.

Hi!
You can use setProperty() method for adding new property to users object.

Also these links will be useful for you:
https://backendless.com/documentation/users/android/users_update_user_properties.htm
http://support.backendless.com/t/how-to-add-custom-property-object-into-user
https://backendless.com/backendless-core-concepts-for-ex-parsers-webinar/
(registering a user with custom properties)
Also available code generation for android studio.
You can download already configured project.
Regards,
Kate.

Thanks!!! It’s done!!! Now, it’s clearer to me, the setProperty method. I’ve successfully implemented it in my code.

Thankssss for the so swift and qualitative response!!! :slight_smile: