Prerequisites

To get started, below are some prerequisites:

  1. Register ( https://console.plivo.com/accounts/register/ ) for a Plivo account. You need a Plivo account to create endpoints and PHLO.

  2. Create a Plivo endpoint. An endpoint facilitates making and receiving calls from the Android client. For more information on what an endpoint is and where it can be used, see the endpoint tutorial(https://www.plivo.com/docs/voice/getting-started/advanced/sip-endpoint/) . Create an endpoint as required. You can automate the creation of endpoints if required using our REST API. Please refer to our API documentation for endpoint(https://api-reference.plivo.com/latest/python/resources/endpoint ) for more details.

  3. Download the latest version of Android studio from https://developer.android.com/studio/

  4. You must create a PHLO (https://www.plivo.com/docs/sdk/client-side-sdks/ios/v2/phlo-to-endpoint/ ) and link it with your endpoint. Plivo High-Level Object (PHLO) is a collaborative way of building and deploying apps visually.

Getting started with Plivo Android SDK

To create VoIP enabled Android app:

  1. Install Android studio

  2. Download the binary and add to your app/libs.

  3. Use our Android SDK examples as a starting point to create your app.

  4. Refer to Android SDK reference for more information on creating applications capable of making and receiving calls in your app.

  5. To set up incoming calls with push notifications, see Setting up Push credentials