Invoke Calling from Fulfilment Webhook response - android

I have a contact app, I created an Action Project which eventually decide a number to call based on user conversation. The number to call is being decided at backend (Fullfilment using Webhook).
I want to start call on number being decided at backend(As it is when you say 'Call 55555555' in Google Assistant).
I am not able to find any document on how to start a call using response from Fullfilment.
Please suggest.

You cannot programmatically start a phone call with Actions on Google.

Related

Bixby: I'm looking for a way to make alert or notification by Bixby

I am making a System which uses Bluetooth. But Bixby does not have Bluetooth API. So My plan was using Android Application and it catches notification then, send data by BlueTooth. But I recognize there is no Notification API in Bixby too.
So... Is there any idea to make a notification push by Bixby?
This feature is rather advanced. Here are some information that might help you.
Bixby is not allowed to edit contact or calendar other than using the already existing built-in capsule. Utterance example "add a meeting at 2 pm" would work fine already. There is no standard library for that.
If by "notification" you mean the pop up notification, there is a way to do so, but not directly from Bixby. The notification is an Android App notification that must sent by Android App. For example, let's call it MyEventApp and say you also have a MyCapsule. It is possible in MyCapsule using a deep link to request MyEventApp for a certain action (in this case, send notification or maybe schedule one)
For how to use deep link in Bixby please read https://bixbydevelopers.com/dev/docs/reference/type/result-view.app-launch as a starting point. There is also a github sample capsule.
The format for deep link (the payload-uri key in Bixby) depends on the MyEventApp and it's part of developer's responsibility to get the format correctly.
Please read carefully regarding https://bixbydevelopers.com/dev/docs/dev-guide/design-guides/design-principles.app-punch-out-policies Or your capsule submission might be rejected.

Getting userNo of a caller or calling entity

I am using sinch services in my android app and using mobile number as userID now. I want to know Suppose I am inside some activity and I want to get the number of other person he can be a caller or receiver. So can we get that number in
"As we have given to the sinch"
not in Return type "Call" but it should be same as we have given to Sinch like this "8888888888" so I should get this in my activity
Purpose : Same Feedback form for both receiver and caller will be created as soon as the call ends. So caller will rate receiver and vice versa. So I have to give the other person's number to the api to update rating.
OK I have Solved my own problem by using call.getRemoteUserId(); in callscreenactivity

Android SIP send location

I'm developing an app with the SDK API SIP. Ive got all the call stablishment ok, but my real problem is that i want to show the location of the user that is calling me during the proccess of call.
I've been reading about PARCEL cause SIP API have 2 functions of it, but i dont think thats the way. I just want to send the coordinates to put them in the API that Google offers me to show the map.
Does anybody can tell me an idea of how to send those values from the caller to the receiver??
Could be a solution, put those values as extra values in the PendingIntent that u create for the open function? If i the caller put them in, the receiver will receive them?
Thanks!!!
Yep, I'm noob in android. It's my first app XD

Get email extra from new outgoing call intent

I'm writing a BroadcastReceiver that responds to the NEW_OUTGOING_CALL action. Meaning, every time the user makes a new phone call - my BroadcastReceiver is called.
I want to get the email of the contact the user is calling.
Here are the extras I can get from the intent:
Bundle[{android.phone.extra.ALREADY_CALLED=false, android.intent.extra.PHONE_NUMBER=123, android.phone.extra.ORIGINAL_URI=tel:123}]
Any ideas? Thanks.
You may want to have a look at the Contacts API which allows you to look up various contact informations in different ways. And then maybe go via the PhoneLookup table to quickly find a contact id for a phone number.
If you haven't used the Contacts API be prepared to learn some 'interesting' approaches and bear in mind that, more and less behind the scenes, it's all only about building select statements for DB tables. - But see for yourself: Using contacts API.

Listener for Call end in Android

I am developing an application in which i want to keep a track of that when an outgoing call ends.For example,If a mobile phone user dials a call and then i want to run a programming code when the call is ended.I want this only for outgoing calls.
You can do it with telephony api in android .see this link its have an example for it.
http://mobisys.in/blog/2011/09/is-your-call-ended-on-android-phone/
Finally done my project on android call log details and I used PhoneSateListener and ContentObserver. Github Project: Android Call Log
Tutorial: Android Call Log Details After ending Call

Categories

Resources