O
O
Oleg Gamega2015-04-26 16:57:56
Android
Oleg Gamega, 2015-04-26 16:57:56

How to delete a number that does not fall into contacts?

Hello.
I am writing a hidden messenger (I also doubt the expediency =)) I launch it by means of a password call, that is, the user calls, for example, number ###123 and the messenger starts, after which I want to remove this number from outgoing. The problem is that this number is displayed in the standard dialer but is not displayed in contacts
Checked everything by uri just in case

Cursor cursor = getContentResolver().query(ContactsContract.Contacts.CONTENT_URI, null, null, null, null);

alas, it is not there, perhaps due to the fact that the number is not valid, it does not get into contacts, but then where and how to look for it?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question