Twilio Client for Android Quickstart Tutorial
In this tutorial, use the Twilio Client SDK for Android and TwiML APIs to demonstrate how to make an
outgoing call, receive an incoming call, and make calls between two Twilio Client instances.
This guide assumes you have familiarity with Android and Java, and concepts
like Activities (and their lifecycles), Listeners, and how to build a basic
- Install Eclipse and the
Android Developer Tools
plugin. We recommend that you use the latest version available.
- Install the Android SDK
and appropriate platform tools and platform API package. Note that the Client SDK depends on
a minimum of API level 8 (Android 2.2).
- Get a Twilio Account SID and Auth Token to initiate calls from your Android
device. You will find these in your
Account Dashboard. If you don't
have an account, you can always sign up for a free
- In the example below, we'll setup a web server on the public Internet to host the server-side code for generating capability tokens and TwiML. The Quickstart below provides a sample python app deployed to Heroku for this purpose, but you can use whatever method for deploying a web server you like.
Download the Android SDK
You can find all of the code from these tutorials in the
of the Android SDK download.
Let's get some of the server-side dependencies out of the way first.
Next: Setting up your Server »