Same here. Everything works fine now (after removing and adding the CalDAV account) 👍
No Contacts in Car
my Car is connected to the Phone over RSAP. The Car can´t get the Contacts which are stored in DavDroid. Only one Contact (my own) is stored in the Local Phone. This one is in The Phonebook on my Car.
Can you fix this Issue?
I think this can only be fixed in the cars software since it seems to be unable to connect to other resources… or does it work with other conatct resources like facebook/google+/whatsapp etc.?
thank you for you comment. Yes, it is working with CardDav-Sync.
Can you fix this Issue in next release? I like DavDroid. I dont want to use the other one.
I don’t know the cause for your problem, so I can’t fix/workaround it
Closing because of missing information. Please re-open if there is any additional info that can help debugging.
The same thing happens for me, connecting to a Tomtom via bluetooth: the phone pops up with “do you want to allow <tomtom> to access your contacts?”, no error appears afterwards, but no contacts show up in the Tomtom’s list at all. Same process worked fine with google-synced contacts.
What information would you need to debug this?
Same issue for me since I use davdroid to sync my contacts/calendars.
I’ll try to capture a logcat next time I use my car.
Here is a logcat grabbed during a bluetooth association with my car :
I believe the problem is near this line :
12-19 08:02:02.589 E/FilterUtils(12094): Unable to create profile vcard. Error initializing composer: No error
The “Error: No error” is pretty funny, tho.
@nezzi The standard things to state for mostly any bug report are: what hardware you’re using, what software you’re using, which versions, what the expected behavior is, what actually happens, and relatively precise steps you use when attempting to elicit this behavior.
For my part :
- I’m using two phones : a sony xperia mini pro and a sony xperia V
- They have the same problem with android stock, cyanogen mod 10 (stable) and 11 (freexperia 250).
- I expect the contacts are synced with my car radio so I can make calls through the hand free kit.
- To reproduce the problem : I turn the bluetooth on on the phone, I power the car radio on and I wait. The car radio displays « downloading contacts » but they are not downloaded.
Hope it helps.
Hi there, ive got the same issue, i do only see my google contacts, my davdroid contacts wont show up, when i got time i will post a logcat. In my case the synced contacts using “CardDav-Sync” show up like expected.
@kafeinnet, @spychodelics: Thanks for your reports, but without logs, I can’t do anything.
Oops, my previous pastebin link is wrong now.
Here are logs for the bluetooth connexion :
Here you go:
ive changed my contacts to:
“02-09 08:38:42.921 5895 5895 D BluetoothAtPhonebook: processCpbrCommand - atCommandResponse = +CPBR: 1,”+49xxxxxx",145,“Firstname Lastname/M”"
they actualy hold the right information.
The difference between carddav sync and davdroid seems to lie here:
carddav : 02-09 08:41:54.535 8960 8960 I BluetoothAtPhonebook: Refreshed phonebook ME with 206 results
davdroid : 02-09 08:38:42.921 5895 5895 I BluetoothAtPhonebook: Refreshed phonebook ME with 11 results
As if it cannot aquire the hole phonebook.
If you need something else let me know.
@spychodelics, @kafeinnet I’d need the DAVdroid logs, not the bluetooth logs.
How to view the DAVdroid logs
I haven’t actually verified this, but a bit of browsing through the Android source code suggests this is caused by davdroid not currently assigning any groups to contacts (see #48).
where = VISIBLE_PHONEBOOK_WHERE;
VISIBLE_PHONEBOOK_WHERE = Phone.IN_VISIBLE_GROUP + “=1”;
“Flag that reflects the GROUP_VISIBLE state of any ContactsContract.CommonDataKinds.GroupMembership for this contact.”
The rationale for this is probably because with a Google/Gmail account, every email address that you’ve ever sent to/received from is added to your contact list in the “Other Contacts” group. To prevent all those from being synced to your car, that group’s VISIBLE flag would be set to false.
Best would be if Android changed the bluetooth sync logic to depend on whether a contact contains a phone number instead of whether it is a member of a group, but for now you might want to add group support to davdroid - even if it’s somewhat broken.
carddav : 02-09 08:41:54.535 8960 8960 I BluetoothAtPhonebook: Refreshed phonebook ME with 206 results -> showing Google Contacts 11 + Carddav Contacts 195
davdroid : 02-09 08:38:42.921 5895 5895 I BluetoothAtPhonebook: Refreshed phonebook ME with 11 results -> showing only the Google Contacts
Is there anything more i can provide?