This sample application demonstrates how to make outbound calls from your android application using the Plivo Android SDK.


  1. Clone our android sample apps repository. git clone or download the zip wget
  2. Setup Android with Eclipse and Launch eclipse
  3. Select File -> New -> Other
  4. Choose 'Android Project From Existing Code' and navigate to the plivo-android-examples folder and click Open


  1. Create an endpoint with a username and a password. Learn more on how to create an endpoint using this guide.
  2. Load the PlivoOutbound application in eclipse.
  3. Edit the source file in the PlivoOutbound application in eclipe
  4. Assign your endpoint username and password to the respective variables.
    public final static String PLIVO_USERNAME = ""; 
    public final static String PLIVO_PASSWORD = "";
  5. Assign the mobile or the landline number you want to call to the PLIVO_NUMBERvariable.
    public final static String PHONE_NUMBER = "";
  6. Launch the application from eclipse. And hit the call button.

The app will place the call to the PHONE_NUMBER added to the code. Make sure you append the country code