Sinch : Know the number of participants in a conference call - android

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.

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.

A Conference Calling App

I was working on a VOIP app two days ago and was successful in implementing a normal App to App calling using Sinch. The app is working fine. When I started I saw in their docs that they supported Conference Calling.
Now upon detailed analysis I came to know that android does not have a conference calling option in their sdk.
So now my question is : Is there any service providers who offer easy setup and usage for conference calling over the net? Please attach the appropriate link to their tutorials.
Is it possible to implement conference calling using Sinch itself? If so how?
Sinch does have conference calling in the SDK on the callclient use callConference(String conferenceId)

Twilio - conference call android app

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

Google Place Search for Android using a radius

I'm currently getting nearby businesses according to a radius around a given position as well as the type of business using the Google WebApp, as shown here: https://developers.google.com/places/web-service/
However, I noticed this on Google documentation :
The Google Places API Web Service is for use in server applications. If you're building a client-side application, take a look at the Google Places API for Android and the Places Library in the Google Maps JavaScript API.
So, I tried to find an equivalent method using only the Android Api, without result. I know my question is a bit borderline, but what should I use in Android? Or is it okay to keep going with the Web Service?
Thank you,
Q
You can actually integrate Web service with Android. Here is a code sample that could help you do this.
The concept of Android web service is that you can store the response from the web service request in a json file then you can manipulate the file programmatically then use the data into your android application, but not restricted to it.
The Sample and Demo u refer as WebService is an Example of Google Places API [Nearby Search Requests]. That one way using the Places API u can search for Places.
Don't get confused Google Places API Web Service is a service that returns information about places and using the APIs u can access the Places data. Well here is the link that will help u to understand it better.

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