Cannot Add Contacts. Asks for new sync account every time.
Okay, I have this same problem.
- CM11 M11 on a Galaxy S2, quite fresh install, no sim, airplane mode, no GApps.
- davdroid 0.6.6 (latest) from f-droid.
- Radicale via http (LAN) as my carddav server
- Added account via davdroid launcer or via Settings/Accounts, doesn’t make a difference.
- Going to People/Contacts app, I see my contacts. I can edit existing contacts.
- Pressing the “Add Contact” button pops up the dialog to setup a new account.
I used to have the permission system enabled by default in CM (for new Apps), but I already marked davdroid as not affected/may do everything. So I doubt that this is the problem. I also now have disabled the “for new apps” thing. I could reinstall davdroid, but I doubt it will make a difference.
- I used to have the phone in “airplane mode” (because I don’t have a sim yet for that phone). Disabling airplane mode FIXES the problem. I have no idea, why.
I used to have the permission system enabled by default in CM (for new Apps), but I already marked davdroid as not affected/may do everything. So I doubt that this is the problem.
That’s OK. I use it, too – as long as DAVdroid is allowed to access the contacts and calendars, it will work.
but cannot add new contacts
Using the Contacts app?
Going to People/Contacts app, I see my contacts. I can edit existing contacts.
Pressing the “Add Contact” button pops up the dialog to setup a new account.
So… why do you think its an issue of DAVdroid? If I understand correctly, the problem seems to be in the Contacts app?
Please see my edited post: I have found, that airplaine-mode seems to be the problem.
Like the OP, “I do not know if this is a davdroid problem or some issue with my build of Cyanogen.” There is a good chance of the problem being in CM and not in davdroid.
So if you say, that this is very likely a CM problem, anyone (I don’t know, when I will have time) can file a bug at CM. We can then put a link to the relevant CM issue here.and close this request/question.
Ok. If it’s a DAVdroid issue, please just post here again, I’ll flag it as 3rd-party bug in the meanwhile.
I was also using airplane mode when I was having problems. But when I reinstalled and didn’t install the Gapps it still worked while in airplane mode so I am not sure what that means.
As already said: I am not sure!
I can only easily reproduce this on CM+Davdroid. So it’s not easy for me to tell, which one is the problem.
By the way, I have a Galaxy S2 with CM11, too. Just tried to add a contact in Airplane mode and have the same issue. May I’ll have a look into this…
http://www.android-hilfe.de/aosp-aokp-basierende-custom-roms-fuer-samsung-galaxy-s3/509561-rom-i9300-4-4-4-offizieller-cyanogenmod-11-a-1230.html#post8087249 seems to be the same problem, and there’s no DAVdroid involved.
By the way, I have a Galaxy S2 with CM11, too. Just tried to add a contact in Airplane mode and have the same issue.
Okay, so this is “reproducible by the maintainer” – Good!
So the probability for “General problem in CM11” increases. Thanks for digging this up.
I also have an Exchange account that provides Contacts and I get this message in airplane mode, so I guess it can’t be a DAVdroid problem - I can’t add contacts to the Exchange account, too.
So I assume it’s a non-DAVdroid issue until further information is available.