Questions tagged [rawcontacts]
39 questions
0
votes
1 answer
Android raw contact row shall create its own exclusive aggregated contact row
I want to create raw contacts in android contacts framework which in turn shall create their own exclusive contact row, This contact row will never be shared by any other raw contact also my raw contact shall also not to be aggregated with any other…

humble_wolf
- 1,497
- 19
- 26
0
votes
1 answer
Associate data to android contacts
I am looking for a way to associate some data to all the contacts of the phone, and thus I have been trying to deal with the ContactsContract.RawContacts.Data Class but I couldn't get something to work.
More over, I thought I could use the LookupKey…

olamotte
- 917
- 9
- 20
0
votes
1 answer
Android: Accessing and querying properly using Raw Contact Id
So my app is attempting to integrate a sync adapter to the android native contact manager. This is all running smoothly except once a contact is synced, I am unable to update it. Details on this particular problem can be found here: Android: Content…

JMRboosties
- 15,500
- 20
- 76
- 116
0
votes
1 answer
How to get read only account names from contact id in Contacts in Android
I am passing account name from a list to this method. Now i want to know which of these account names are read only in contacts table so i am iterating the cursor only once to get the contact id from raw cursor. After getting the contact_id I am…

Akshat Vajpayee
- 274
- 1
- 3
- 15
0
votes
1 answer
Insert a custom ringtone in a rawcontact (new contact)
I would like to add a custom ringtone in a rawcontact (before create the contact).
I used this code with succes to add a custom ringtone in a contact (already created):
String select = ContactsContract.Contacts._ID + "=?";
String[] args = new…

Maestro
- 18
- 1
- 4
0
votes
2 answers
Remove custom account ACCOUNT_TYPE from contacts
I have created a custom account and i have added few contacts to that account. So now i want to remove the account from those contacts. I'm Googling since few weeks but i'm not able to find anything. If anyone knows how to do then please help me…

Ram
- 7
- 4
0
votes
1 answer
How do you select which raw contacts to update when you need to add custom info to your contacts?
As you can know there are aggregated contacts (one 1) and each can have multiple raw contacts linked together to that contact (many N)
So there is a 1 contact -> N raw contacts relationship between them.
When you need to store a custom info for…

Pentium10
- 204,586
- 122
- 423
- 502
0
votes
0 answers
Android contacts, how to build a chained query
I'd like to do the following:
Retrieve list of all contact (including photos), that have raw contact of some specific account.
The problem is that the photo thumbnail can be retrieved only with Contacts.CONTENT_URI, and raw contact info, like…

Alex
- 1
- 1
0
votes
1 answer
Android programmatically inserted contact isn't linked to my app
I have created a custom Account for my app using the following code:
Account account = new Account(username, accountType);
ContentResolver.setIsSyncable(account, context.getString(R.string.CONTACT_AUTHORITY), 1);
…

Guster
- 1,733
- 1
- 16
- 18