S
S
Sergey2020-08-28 13:29:22
Java
Sergey, 2020-08-28 13:29:22

How to set a name for a specific incoming number on Android?

It is necessary in Android 6+ to display a name for a specific number, as in "anti-spam" programs.

We "add": {title : 'Test title', number : '71234567890'}, now when this number calls the phone it should say 'Test title' somewhere on the screen. In the "Contacts" we do not enter this number.

Prompt, what "technologies to use", where to dig? And is it hard to implement. The final task is to format it as a plugin for Cordova.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
denbrazhko, 2020-08-28
@denbrazhko

I think you need some service that processes incoming calls and checks against your database of numbers, and not against the user's contacts. And then show either a notification or an activity, as you wish. Only with activation there will be problems on sdk> 28

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question