/android-java-chat-app

Android Java Chat App (Includes 100% Ready UI)

Primary LanguageJava



CometChat Android Demo app (built using CometChat Pro) is a fully functional messaging app capable of one-on-one (private) and group messaging along with recent conversations. The app enables users to send text and multimedia messages like audio, video, images, documents.

Platform Platform

Table of Contents

  1. Installation

  2. Run the Sample App

  3. Screenshots

  4. Contribute

Installtion

Simply Clone the project from android-java-chat-app repository and open in Android Studio. Build the Demo App and it will be ready to Run

v2 Apps

To run our open source app with CometChat Pro v2, follow these steps:

  1. Check out to branch v2
  • modify APP_ID and API_KEY with your own ApiKey , AppId and REGION

     `public static final String APP_ID  = "XXXXXXXXX";`
    
    ` public static final String API_KEY = "XXXXXXXXX";`
    
     `public static final String REGION  = "XXXXXXXXX";`
    
  1. Build and run the Sample App.

v1 Apps

To run our open source app with CometChat Pro v1, follow these steps:

  1. Check out to branch v1
  • modify APP_ID and API_KEY with your own ApiKey and AppId

    `public static final String APP_ID  = "XXXXXXXXX";`
    
    ` public static final String API_KEY = "XXXXXXXXX";`
    
  1. Build and run the Sample App.

Run the Sample App

To Run to sample App you have to do the following changes by Adding ApiKey and AppId

  • Open the Project in Android Mode in Android Studio

  • Go to Under java --> com\inscripts\cometchatpulse\demo --> Contracts --> StringContract

  • Under class StringContract.class go to static class named AppDetails

  • modify APP_ID and API_KEY with your own ApiKey and AppId

    public static final String APP_ID = "XXXXXXXXX";

    public static final String API_KEY = "XXXXXXXXX";

Note

You can Obtain your APP_ID and API_KEY from CometChat-Pro Dashboard

For more information read CometChat-Pro Android SDK Documentation

Studio Guide

Screenshots


















Contribute

Feel free to make Pull Request.