Twilio - conference call android app - android

I want to make such an android app in which user can make conference call. user can add twilio user and non twilio ( can call to any phone number ) as well in a same call.
I have seen this , this and also this link .
Which path should i follow or how can i use twilio in my app?
Should i use Rest apis or twilio java sdk or the combination of both ?
Please guide me waiting for your valuable response ?
Thanks in advance.

Twilio developer evangelist here. In this blog post I wrote about the pitfalls of using twilio directly from your device while trying to send SMS messages.
As it happens, the same problem exists while trying make calls. You shouldn't use the REST api directly from the device, but if you're trying to make VOIP calls from it, this example I created should be helpful to you.
In that, I use the Twilio Android SDK to create a new VOIP call from the device. You will still need to authenticate though, but on the blog post I mentioned above I describe how to build a backend to do that.
Hope this helps you

Related

Twilio Android SDK vs REST API for Chat and Video

I used the Twilio Nodejs and Android SDK quick starter programmable chat and these work great. I am confused by the following statement in the documentation:
The Programmable Chat REST API allows you to control your Chat applications from the server in much the same way you can from the client, except from a service perspective rather than a 1st person one.
Not really sure what this means? Can I develop Android app with out the SDK and use REST API? Why would I do that? SDK seems to be much more flexible and easy to use. Why would you control your app from the server?
What does "except from a service perspective rather than 1st person one" mean?
Twilio developer evangelist here.
If you are building an Android application then I recommend using the Twilio Chat Android SDK.
When the documentation references using the REST API from a service perspective it means that you can use the REST API from the perspective of your application rather than a user of the application. For example, if you need to send a message to your users that appears to come from your application admin you can do so using the REST API. That way you don't need to sign up a user and send messages from it. Alternatively, using the REST API is a good way to send and receive messages as a bot in the your chat system. You can also use the REST API to do system side maintenance on your chat instance (for example, you could close old, unused rooms using the REST API).
I hope this helps or gives you some sort of idea what you can do with the REST API. I still recommend the SDK for your user facing application though.

Is there any Callback that gives me feedback about lost packages in Twilio beta8 SDK?

I'm developing an app in Android that uses Twilio to communicate through VoIP the users. I´m using beta-8 of the Voice SDK. My problem is that the call sometimes goes to "black" and you can´t hear anything from one side or another. This is because of the network, because I have been monitoring this.
My question is if there is some way to know when this is happening to notify the App and inform the user that we are trying to reconnect the call with some layout.
Any help is appreciated.
Twilio developer evangelist here.
There is almost a way to do this.
We have a Voice Insights Dashboard right now, which you can enable in your account and see account reports for your calls.
In the latest JavaScript Twilio Client you can also get call quality events. However this is still under development for Android and iOS Clients.
So, the overall answer is: not yet, but it's being developed so keep an eye on the Twilio blog for announcements.

Sinch : Know the number of participants in a conference call

I am building a conference calling app using Sinch in Android. I can now establish conference calls and add participants to it successfully.
Now I would like to add some capabilities to my app:
Know the number of participants at a given time.
Mute a particular user.
I was looking into this link.. I understand that Sinch is giving some REST services to achieve the above services. I have never worked with REST web services in Android. I also went through the tutorials section and was unable to find a tutorial on how to call a REST API end point from Android.
I would like a simple walkthrough or a guide to call Sinch REST services from Android, especially to achieve the first capability (know the number of participants).
Both of this can be done by calling the Sinch REST API from your app.
Refer here : Link 1
If you don't know how to use REST API. I recommend using either Volley or Retrofit to make the network calls. Various tutorials on how to use them both are available on the net. Please refer that.

Use Twilio for app to app VoIP calls

We are developing an Android app with VoIP call feature like WhatsApp's calls.
Following quick-start guides and examples provided by Twilio in their web we managed to make a simple VoIP app for testing (Android Client Tutorial), but when we configured server side app (provided in their examples) we were asked to enter a callerID that must be a valid phone number.
Why is this callerId needed and why it has to be a valid number phone if we just want to make app to app VoIP calls, without using any real mobile number?
Twilio developer evangelist here.
Using Twilio Client you can make both app to app calls and app to phone calls. You only need a calledId if you are calling out to the phone network. You can get a free phone number with your Twilio trial account and use that if you want to follow the Android Client Tutorial exactly.
Otherwise, you can skip the bits of the app where you call phones and just send calls out to other Clients. When you do that, you need only to set the callerId as your Client name.
Let me know if that helps at all.

Twilio: making call w/o own server

Just begin to learn Twilio API. My intention is to make call directly from Android phone to any landline number. I have read QuickStart guide, build sample Android application and found that to make a call one need to have his own REST server.
I didn't have any experience with any SIP alike apps, but my understanding was that there's SIP provider server through which I could place a call and that's it... (with any kind of authorisation and so on).
So the question: is any possibility to place call using Twilio without my own server? Or as option - could someone advise me 3d party provider of those server which can be used to place call through Twilio?
Twilio developer evangelist here.
Hey, even better then setting up your own server yourself, you can just head to our Github repo and use the click to deploy button. It requires you to have a Heroku account which you can obviously use for free.
From there, you have your own URL for the application, which you can add to your Android App. So no need to setup your own backend if you don't want to.
The repo takes you through all the steps for configuring your app, but by all means if you have any questions, please do not hesitate in getting back to me.
Hope this helps

Categories

Resources