Android app that leverages the Acrobits SDK to register users and makes calls using Bandwidth Voice and Messaging APIs
Java
Clone or download
Latest commit a6782a9 Aug 25, 2017

README.md

Bandwidth Voice Reference Android App

This project is a fully functioning Android app that leverages the Acrobits SDK to register users, and make and receive calls. Acrobits provides a fully featured commercial SDK for mobile applications that wish to integrate voice capabilities and is fully compatible with Bandwidth's endpoint.

App screenshot

This application comes with a trial version of the Acrobits SDK that terminate calls after 1 minute.

##Before you start Before you get started, there are a few things that you will need to have set up first.

###Setting up your Bandwidth account

  • [Need to get detailed instructions for this part]

###Setting up your application server

  • [Need to get detailed instructions for this part]

##Get the code Just grab this repository by running:

$ git clone https://github.com/bandwidthcom/catapult-reference-app-voice-android.git

##Open the project

  • Launch Android Studio
  • Click File -> Import Project...
  • Select to the folder created by Git when you checked out the code

##Replace server URL

  • Open app/src/main/res/values/strings.xml
  • Replace the value for the application_server_url key with the URL of the server you set up in the steps above

If you do not do this step, you will see an alert dialog when you try to open the app, and the app will not do anything else.

##Run the app

  • Click the Run button in Android Studio
  • Plug in your device or select an emulator image to start up
  • When the app launches, type in any username into the field and tap Register
  • After registration completes, a toast message will display your phone number
  • You can also see your phone number from the Account info menu item
  • You can now receive phone calls at this phone number
  • You can also dial a phone number and tap Call to place a call

Adding voice support to your own app

Please contact Acrobits for a commercial version of the SDK. They will provide you with a license and detailed instructions on how to integrate the SDK into your application.

If you only want to try it out, copy the file on app/libs/libSoftphone-debug.aar and add it as a dependency:

repositories {
    flatDir {
        dirs 'libs'
    }
}

dependencies {
    compile(name: 'libSoftphone-debug', ext: 'aar')
}

You can then use the code provided by this sample app as the basis for your own implementation.

More Acrobits resources:

[Provide links to Acrobits]