Giter Club home page Giter Club logo

plivo-android-sdk2-examples's Introduction

Plivo Voice QuickStart for Android

The Plivo Android SDK lets you integrate voice into your Android apps. This repo provide 3 example with android SDK.

Pre-requisites
  1. Plivo Account
  2. Create an endpoint with a username and a password.

Reference link: Android SDK Documentation

PlivoRegistration App

PlivoOutgoingCall App

PlivoAddressBook App

License

MIT

plivo-android-sdk2-examples's People

Contributors

altanai avatar altanaib avatar anand-plivo avatar anil-plivo avatar anilovyo avatar anshuman-plivo avatar chandrasekhar-plivo avatar eniyavan-muruganantham-plivo avatar iwanbk avatar kritarth-plivo avatar lijo050 avatar mariusrazvan avatar pothinenikarthik-plivo avatar rahulsinghdhek avatar rdhek-plivo avatar sammy-iiitb avatar sankalpjohri avatar sanyamjain-plivo avatar sivaplivo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

plivo-android-sdk2-examples's Issues

I can't create a Plivo account

This email is not allowed. Please input a valid work email.
I had try it by outlook、 gmail 、163、 hotmail 、icloud and so on.These all give me some tips above.
Can you help me?

App crashes on Pixel 2 XL (API 27) emulator

Stacktrace:

E/linker: "/data/app/com.plivo.voicecalling-daUrp3wZNEzDb_zXhcyegg==/lib/x86/libpjplivo.so" has text relocations (https://android.googlesource.com/platform/bionic/+/master/android-changes-for-ndk-developers.md#Text-Relocations-Enforced-for-API-level-23)

E/zygote: No implementation found for void com.plivo.endpoint.backend.plivoJNI.swig_module_init() (tried Java_com_plivo_endpoint_backend_plivoJNI_swig_1module_1init and Java_com_plivo_endpoint_backend_plivoJNI_swig_1module_1init__)

E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.plivo.voicecalling, PID: 25999
java.lang.UnsatisfiedLinkError: No implementation found for void com.plivo.endpoint.backend.plivoJNI.swig_module_init() (tried Java_com_plivo_endpoint_backend_plivoJNI_swig_1module_1init and Java_com_plivo_endpoint_backend_plivoJNI_swig_1module_1init__)
at com.plivo.endpoint.backend.plivoJNI.swig_module_init(Native Method)
at com.plivo.endpoint.backend.plivoJNI.(plivoJNI.java:118)
at com.plivo.endpoint.backend.plivoJNI.new_PlivoAppCallback(Native Method)
at com.plivo.endpoint.backend.PlivoAppCallback.(PlivoAppCallback.java:118)
at com.plivo.endpoint.BackendListener.(BackendListener.java:28)
at com.plivo.endpoint.Endpoint.initLib(Endpoint.java:154)
at com.plivo.endpoint.Endpoint.(Endpoint.java:50)
at com.plivo.voicecalling.Helpers.Phone.(Phone.java:35)
at com.plivo.voicecalling.Helpers.Phone.(Phone.java:18)
at com.plivo.voicecalling.Helpers.Phone.getInstance(Phone.java:28)
at com.plivo.voicecalling.Activities.LoginActivity.onCreate(LoginActivity.java:62)
at android.app.Activity.performCreate(Activity.java:7009)
at android.app.Activity.performCreate(Activity.java:7000)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1214)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2731)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2856)
at android.app.ActivityThread.-wrap11(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1589)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6494)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)

Screenshot: https://imgur.com/a/zhdcVOX

How can I Set Caller ID while placing outbound Call?

I am Developing Android App With Plivo. I have one use case I want to set custom Call Id for Each user. Currently It is showing Number (+1000000000) on Receivers End.
I want to set Custom Numbers with different Countries. How can I set it for each users. I want it with PHLO call forwarding. Please Guide me in integrating with.

NoSuchMethodError: com.plivo.endpoint.backend.plivoJNI in swig_module_init

We are getting the following in release build only and app crashes immediately on startup (since we have endpoint login around startup code)

NoSuchMethodError
no static method "Lcom/plivo/endpoint/backend/plivoJNI;.SwigDirector_PlivoAppCallback_onStarted(Lcom/plivo/endpoint/backend/PlivoAppCallback;Ljava/lang/String;)V"

I was suspecting missing proguard definitions but I didn't find any in the example Android project either.

Wondering whats going wrong and how to fix it.

NOTE: This works fine in debug and profile mode

authentication error

its working properly butt from last day it failes to login check the logcat

///////////////////////logcat///////////////////////
sip_auth_clien ...Authorization failed for [email protected]: server rejected with stale=false
I/System.out: [backend-logs][onDebugMessage]16:11:21.474 pjsua_acc.c ....SIP registration error: Credential failed to authenticate (PJSIP_EFAILEDCREDENTIAL) [status=171100]
I/System.out: [backend-logs]onLoginFailed
D/PlivoInbound: Login failed
D/PlivoInbound: Login failed.....................................
I/System.out: [backend-logs][onDebugMessage]16:11:21.479 tsx0x7f5dfc98a Timeout timer event
I/System.out: [backend-logs][onDebugMessage]16:11:21.483 tsx0x7f5dfc98a .State changed from Completed to Terminated, event=TIMER
I/System.out: [backend-logs][onDebugMessage]16:11:21.491 tsx0x7f5dfc98a Timeout timer event
[backend-logs][onDebugMessage]16:11:21.492 tsx0x7f5dfc98a .State changed from Terminated to Destroyed, event=TIMER
I/System.out: [backend-logs][onDebugMessage]16:11:21.493 tdta0x7f5df570 ..Destroying txdata Request msg REGISTER/cseq=36648 (tdta0x7f5df57000)
I/System.out: [backend-logs][onDebugMessage]16:11:21.494 tsx0x7f5dfc98a Transaction destroyed!

/////////////////////////////////////logcat//////////////////////////////////////
any solution please

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.