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

How to make a chat application in android?

Hello, I'm creating an app following the Ribbit app course and I was wondering if I could add a chat tab instead of just sending photos and videos for my friends. I don't know how to do that. Can someone help me? Or give me a good tutorial link?

2 Answers

Ben Jakuben
STAFF
Ben Jakuben
Treehouse Teacher

Hi Sarha,

This should be relatively simple to do if you understand the steps we took to create Ribbit. Sending text data instead of an image is much easier since you just need to add a String to ParseObject instead of a ParseFile and all that other image stuff. I would suggest starting very simply and working your way up to exactly what you want. First, maybe just add a test button that lets you send a hard-coded string to another user. You could even hardcode the users to focus on the concept of sending a text-only message. Then use those pieces to build the rest out step by step, including a new tab and UI to create a text message.

As you're going along, post specific questions where you're stuck here in the Forum and hopefully we can keep you moving.

Hey, I was wondering, is Parse a good backend for chat? I have been experimenting with Quickblox, and unfortunately its pretty complicated and there is no good tutorial on how to use it... I feel a lot more comfortable with working with Parse but I feel like parse is more for storing data for a user like Planned Events, Profile Info, etc. But I might be very wrong...

Is parse an acceptable way to make a chat service?

Ok! Thank you! :D