Build a Chat App with the PubNub Android SDK

This tutorial will walk you through developing a basic chat application in Kotlin using PubNub.  

This tutorial will focus on the Kotlin SDK and not the community-supported chat UI components designed for Kotlin.  

The source code for this application can be found on Github at https://github.com/PubNubDevelopers/GettingStarted-Kotlin-SDK-Tutorial

1

Prerequisites

Before running this application, be sure you have the following installed:

  • Android Studio.  The application was created with version ‘chipmunk’ but should work with any recent version of the IDE.

Download Source Application

In a terminal, navigate to an empty folder.  Enter the following command to clone the repository:

1

The main git branch contains the completed version of this tutorial.  If you would like to follow along, please checkout the following branch:

1
BackStep 1 of 4Next