Easy android chat/messages library using Parse
- Send and receive messages between users
- Receive push notifications when users get new messages
- Download this repo and add it as a dependency to your app
- Initialize using your parse app credentials:
public class ExampleApp extends Application {
@Override
public void onCreate() {
super.onCreate();
ParseChat.Builder parseChat = new ParseChat.Builder(this,
getString(R.string.parseAppId),
getString(R.string.parseAppKey));
ParseChat.initialize(parseChat);
}
}`
- Set the parseuser that will be used to send messages
ParseChat.setUser(ParseUser.getCurrentUser());
- Show the user's conversations
ParseChat.showConversations(activity);
- Create a new conversation - In progress
ParseConversation conversation = new ParseConversation.Builder()
.setSender(ParseUser.getCurrentUser())
.setReceiver("recipientUserId")
.setTitle("Conversation title")
.build();
ParseChat.startConversation(conversation);
- Send images
- Send videos
- Override UI styles
- Add option to block users
- Delete conversations
- Rename conversations
- Add thumbnail to conversation list items
- Add header view to conversation