Show custom name in App-To-Phone Calls in Sinch - android

I'm developing an Android application that allows users to make app to phone calls and it is working pretty fine at the moment but, I want to show a custom name when the remote user receive the call. Now, the phone receiving the call is showing an unknown caller name.
My question is if there is a way to achieve this or it's impossible to show what i want.

There is a couple of ways do do this:
User callUserWithHeaders and add a friedly name as a header
Look up the username in your backend when you recieve the call and display the friendly name

Related

Qt android emailing

Let's say I start with a Qt app that is built for android with only one pushButton in it. I would like to have a function be called when the button is pressed where it will:
open gmail (or maybe any other default mailing app in android if possible)
set the "to:" to be a specific email by default (which doesn't matter if it can be changed later, just to have a default that is none empty that I can set from inside the app)
set the title of the email (again from inside the app)
set the text inside the email from inside the app
so basically the user only needs to press send because data should be already gathered (survey ish thing) and it just has to be sent. Obviously if it is possible to not open this app and send the email directly it would be even better.

What is most simple way to send notification of unexpected events to users of Android application?

For example I expect this kind of situation: data in my application lost relevance and so it usless until update. And until update it have to show users some predefined message.
Is here any simple and free solution to this task?
Guess I can use some server to somehow send simple messages... but it sounds way too complicated.
If this is important I use Xamarin.
Update: main difficulty here is fact - my application can't in any way define if it's outdated or not. This may happen in random moment.
Although the requirement is not very clear I assume Update here means app update.
each time user launches app make call to an api on ur server to check if user needs to update app
If that returns true take user to a static view that says app needs update and redirects user to google play to install updates
If you want to avoid using a server, you should try Firebase (https://firebase.google.com/). More specifically, you should use Firebase Remote Config (https://firebase.google.com/features/remote-config/).
Define in a key-value pair of something like minimum_app_version_required in Firebase Remote Config. Every time user opens the your app, compare the values of app version and minimum_app_version_required that you are getting from Firebase console and show a dialog box accordingly. You can also change the value of minimum_app_version_required anytime you want.
Just set some internal flag. That when that situation occurs, you can set the flag to true and just edit whatever layout element you are using such as listView or any other element with your predefined messages saved in strings.xml. You can also build any custom pop up screen, depends how you want to show them. Let me know if you didn't understand or exactly how you want?
Need to implement versioning for this problem. To achieve this, you have to maintain a version number in server, this is the version number you app will have to save and use it to validate with server. If both are not same, then app will get the latest data from the server.

how sinch callback works

i want a create a android paid calling app using sinch.
sinch includes a callback API to get details of call.
i wanted to use this but no idea how to.
i read the documentation. but it is not enough
my question is,
what are the requests to the server.?
how can i find what to what country the call is going on ?
how can i restrict calls based on the account balance in our database
Note:
i can generate the userid for calling it is a 15 digit string i will use it as username to connect a call
Configure a calling callback url in the dashboard for you app
Implement your backend details can be found here: https://www.sinch.com/docs/rest-apis/api-documentation/#callingcallbackapi
When you get the ICE event, you will get who is calling, look up the balance in your database, if the user doesnt have balance create a hangup action instead of ConnectPSTN.

One to one Video call with voice in Open TokBox : Android, dotNET

I want to setup One to one Video with voice call using Open TokBox. I want to setup it in Android and Server Side is dotNET. I found sample project and it is working fine but it is like multi broadcasting. And It finds if any user is online.
Rather than this, I want that One user call another user from Android Device. And if that another user is online then he gets notification about call else it shows offline user. This can happen with many users same way.
Its like skype but only one to one. So, as I know I will need to create new session id at dotNET server side.
Please help me to perform this task perfectly.

Accessing a web service from an android phone

Hello I am new to Android .I have been given an Android project to do. As a part of my project I need to do the following :
1)Create an Android application that takes 3 inputs from user via EditText namely id,address and contact no, and has a submit button at the end to send that data
2)After clicking the submit button , a web service that we will create using Netbeans should get invoked and display it's contents on the phone to the user
The web service will basically contain some predefined data entries that I want to display it to the user with a checkbox
say eg. xyz
yax
where 'xyz' and 'yax' are contents of my web service. The user selects any checkbox say 'xyz' , clicks another submit button below and the entire data namely id , address ,contact no , and now 'xyz' goes into a mysql database.
3) After reading this I am now aware of how to create a web service but the problem I have is how to invoke that web service from an android phone ???
Can someone please help me ?
You can directly use web-service from URL.

Categories

Resources