Docs

Android SDK

GET STARTED with examples

Android SDKs enable you to rent phone number, make VoIP phone calls.

  • Embed SDK sdkmobilej.jar and libsdkmobile.so files in your project in the way as it is shown in our example
  • Import namespace com.scs.* into project java sources
  • Initialize SDK calling SdkMobile.INSTANCE.initialize method
  • Get CallClient instance using getCallClient method of SdkMobile.INSTANCE
  • Activate the sip account using activate method of ICallClient interface
  • Login parameter is formed like sip:@sip-eu.apifonica.com (ex. sip:883140776193139@sip-eu.apifonica.com)
  • When is account activated an activation event will be send to IActivationListener which should be set to CallClient instance before an activation started
  • Make a call using callToNumber method of ICallClient interface
  • More detailed information of how to use sdk is shown in our example

Odwiedzając naszą stronę, zgadzasz się na to, abyśmy wykorzystywali pliki cookies. Zachęcamy do przeczytania naszej Polityki cookies, która znajduje się tutaj.