Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [android-contacts]

Content related to Android's Contacts APIs

0 votes
0 answers
14 views

How to fetch blocked contacts list in android without making it default dialer

I need to display a list of blocked contacts from the device. I want to retrieve this information without setting my app as the default dialer. I understand that accessing blocked contacts usually ...
nimra sohail's user avatar
0 votes
1 answer
81 views

Put our calling- or SMS-app in the "Connected Apps" list contact app

I need our app to be shown as an option in the "Connected Apps" list of the android's default contact app, just like how WhatsApp, Truecaller and Telegram etc. - as shown in the image below. ...
Mr_vmh's user avatar
  • 167
0 votes
0 answers
45 views

Show third party calling or SMS app in the "Connected Apps" list of the android default contact app. Like how Whatsapp ,Teligram...etc are showing

Ours is android calling and SMS app. Need our app to be shown option in the "Connected Apps" list of the android's default contact app like Whatsapp, Truecaller and Teligram etc. As shown in ...
TheNameIsViRu's user avatar
0 votes
0 answers
30 views

Unable to insert new contact from instant app in Android 14

How to save/insert a new contact from instant app? Tried inserting a new contact using intent by following developer docs like so: val intent = Intent(ContactsContract.Intents.Insert.ACTION).apply { ...
ajandroid's user avatar
1 vote
2 answers
47 views

Java app crashes when trying to read contacts from phone

My app crashes when trying to read the contacts. Error message is java.lang.RuntimeException: Unable to start activity ComponentInfo{com.ccoders.contactlistjava/com.ccoders.contactlistjava....
K. Wenzel's user avatar
0 votes
1 answer
215 views

Contacts.vcf file doesn't have all the information that is displayed by the Contacts app

I plugged my Android phone into my W11 so that I could backup some pictures and my contacts. Easy enough. I looked in the Contacts.vcf file just using 'vi' (which I assume is the file used by the ...
Ed.'s user avatar
  • 936
1 vote
1 answer
122 views

How to Share a contact that doesn't exists? (only info) in Android?

Context: I have a QR scanner app that can scan contacts info. upon scanned, the user can add the contact or share it. how can I share (if I can) to another app? I have this code right here to add ...
nope's user avatar
  • 304
0 votes
1 answer
3k views

how to fetch my device all contacts list to my flutter application

I want to fetch my conatct list to my flutter application, I want name and number, I tried but in screen it not visible but backend Terminal i am getting all the contacts list and I contacts is ...
Nihar's user avatar
  • 15
0 votes
1 answer
115 views

Duplicate phone numbers for each contacts android

In my application i want to show a list with my contacts and their phone number of each one. So i get the contacts from the ContentProvider and then all the numbers of the phone and then i match them ...
james04's user avatar
  • 1,830
0 votes
1 answer
48 views

Unable to get contact address from the phone contact

I am trying to get an address from a phones contact with no luck, I am able to get the name, phone number and email, but not the address. When debugging the cursor for StructuredPostal looks the same ...
RobTheChippy's user avatar
0 votes
1 answer
261 views

Pick Contacts starting from a specific alphabet from phone contact list in android studio

As the title says, I want to select contacts list from the phone contacts which start from the given alphabet. for example: if i want to select only the contacts starting with A, my current code which ...
Ravi.Dudi's user avatar
  • 1,354
0 votes
1 answer
152 views

how to read contacts when app is terminated in android 13?

I'm developing an Android application and I need to read contacts from the user's device. In previous versions of Android, I was able to achieve this functionality while the app was running or in the ...
Shaik Abdullah's user avatar
0 votes
1 answer
41 views

Fetching contacts' data into a RecyclerView takes too long time

I am trying to get contacts' data (name, number and photo URI), and it's too slow and showing a black screen for seconds before viewing the UI. When trying to do it in a separate thread, the error ...
Mahmoud Nabil's user avatar
0 votes
1 answer
130 views

Black screen and slow startup on starting app, when getting contact information into a RecyclerView?

I have a problem with a slow start and black screen when getting contact information into RecyclerView. And, the problem is gone when deleting the process. Below is the function of getContacts, if ...
Mahmoud Nabil's user avatar
1 vote
0 answers
59 views

Unable to get Contact ID of the updated Contact. ContentObserver for the uri "ContactsContract" cannot capture the contact-ID

When a user changes/updates contact details in the contacts app I need to capture the update in that specific contact and get that specific contact ID to make relevant changes to the contact data ...
Karthik S's user avatar

15 30 50 per page
1
2 3 4 5
138