Build Open Source Android Messenger

Estimated reading time: 3 minutes

In this part, we will download the source code for Android Messenger, build and run it on a real device.

Let’s get started.


Before we dive into building and running a fully featured Messenger for Android, ensure that you’ve read the following.

Downloading the Source Code

The latest code for the Android Messenger is always updated and pushed on messenger-app-android repository.

There are multiple ways of “downloading” code from GitHub.

If you have git installed, this is a recommended approach as you can quickly sync and stay up to date with the latest version. This is also a preferred way of downloading the code if you decide to contribute to the project.

To download, open a terminal and issue following commands:

$ mkdir Messenger
$ cd Messenger
$ git clone

Download the code as a zip file

You can also download the complete Android Messenger source code as a zip file. Although simple, the downside of this approach is that you will have to download the full source code every time it is updated on the repository.

Click on the Download button to start downloading.


Once the download completes, unzip into a folder.

Stay Up-to-date

Whatever approach you take to download the code, it is important to stay up-to-date with the latest changes, new features, fixes etc. Ensure to Star(*) the project on GitHub to get notified whenever the source code is updated.


Build and Run

In this part, we will build the code as it is and run the app. In the next section, we will learn about customizing applications.

Building the code is as simple as:

  1. Launch Android Studio
  2. Open the project from the folder where you have downloaded the code using the menu File -> Open
  3. Build using menu Build -> Rebuild Project
  4. It may take a while to build the project for the first time.
  5. Once the build is over, run on the device using the menu Run -> Run (app)
  6. That’s it, you should see the welcome screen and then the login screen.

Log in using your phone number. You can even start using the app you’ve just built to communicate with your family and friends. Cool isn’t?

Note that, for this demo, you need to generate OTP yourself by log in to your mesibo account and clicking on the Demo Apps menu for instructions. In the later part of this tutorial, you will learn how to send OTP to your users automatically.


In this part, we have built and run the Android Messenger app.

In part 3, we will start building the iOS app. However, if you prefer, you can skip it and go to Part 5 of this tutorial to learn about customizing.

On to Part 3 >>

open, source, whatsapp, mesibo, overview