Originally Posted by scottjal
Looks like it's Sony's problem, I installed another contacts app and I don't have problems saving the name to new contacts.
I confirm, it's Sony problem. (see https://davdroid.bitfire.at/faq/entr...itor-problems/
Background: It seems to affect all Sync Adapter. In case you are using a CardDav Server (maybe NextCloud or Baikal) together with a CardDav Sync Adapter app (for example DAVdroid or CardDAV-Sync): If you add a new contact using stock Contacts app, the name you enter in the fullname field will NOT be saved. It appears as "nullnull" or empty or others in your carddav server. The name gets LOST, so its useless. (It seems to work sometimes if you add the names in the seperate firstname/lastname fields, but thats not a solution because its easily forgotten)
Seems, it's fixed in recent devices/updates (Tablet Z4 on Android 7.0 works correct). But this will not help owner of older devices (my Z1compact is affected, Tablet Z, Z3compact seems too).
Only know solution is, as mentioned before, using a third party contacts app that IS NOT using the systems "add contact" dialog (!). (many are using the system dialog, than you have the same problem)
I use True Phone Dialer & Contacts
. It brings its own "Add Contacts" dialog, fullname is handled correctly. (I'm using SyncAdapter opensync
, almost same as DAVdroid, but you can select more than only one adressbook per server (I don't get this limitation in DAVdroid
---------- Post added at 10:11 AM ---------- Previous post was at 09:45 AM ----------
Only know solution is, as mentioned before, using a third party contacts app
Here an instruction how to replace
Sonys stock contacts app (root needed!):
- Choose you third party phonebook/contacts app (as mentioned before I tested it with True Phone Dialer & Contacts). Test that is is not using stock dialog (add a contact, the dialog where you add name/phone/email should look different then if you add it from stock app).
- (maybe not needed: go to Android settings -> apps -> Contacts and clear "Open by default" settings for stock app)
- Connect to phone by adb (should work in a terminal app too)
mount -o rw,remount /system
mv /system/priv-app/Phonebook/Phonebook.apk /system/priv-app/Phonebook/Phonebook.apk.bak
mount -o ro,remount /system
- Reboot phone
Stock contacts app should not be visible anymore in app drawer, so you cannot accidentally use the wrong app, choose your new app as "use always" when you are asked next.
In case of problems (and maybe before you update Android), just rename Phonebook.apk.bak back to Phonebook.apk .