Is there a solution for the aosp contacts app address problem?



  • I'm syncing Lineage14 adress book by davdroid wiht nextcloud10.

    Every time I edit any element of a contact on phone with the aosp contacts app, the sync of postal address for this contact doesn't work anymore.

    To repair it, I have to delete the postal address element. Then do a sync, which removes the address from nextcloud. After this I can add the address element again by nextclouds contacts app and sync it to the phone.

    Because of this behavior the address sync of a lot of my contacts is broken. There is no easy way to recognise the problem, because there are no failure messages.

    I think the problem is the postal address handling of the aosp contacts app.

    Would it be possible to patch the aosp contacts app?

    Or is there another contacts app, which I can use without gapps?



    1. Create new contact with nextclouds contact app

    vcard from table oc_cards column carddata (vcard as blob)

    BEGIN:VCARD
    VERSION:3.0
    FN:Max Mustermann
    UID:a1bbd1ee-4181-496d-b362-7c1e72c957e3
    TEL;TYPE=HOME,VOICE:+49 9876 54321
    ADR;TYPE=HOME:;;Musterstr. 1;Musterstadt;;12345;
    REV:20170927T202404
    END:VCARD
    
    1. Sync to phone with davdroid

    2. Add cell-phone nr at phone with aosp contacts app

    BEGIN:VCARD
    VERSION:4.0
    PRODID:+//IDN bitfire.at//DAVdroid/1.7.3-ose ez-vcard/0.10.3
    UID:a1bbd1ee-4181-496d-b362-7c1e72c957e3
    FN:Max Mustermann
    N:Mustermann;Max;;;
    TEL;TYPE=home:+49 9876 54321
    TEL;TYPE=cell:+49 123 456789 
    ADR;TYPE=home;LABEL=Musterstr. 1\n12345 Musterstadt:;;Musterstr. 1;Musterstadt;;12345;
    REV:20170927T202945Z
    END:VCARD
    
    1. sync to nextcloud with davdroid

    2. change street and city with nextclouds contact app

    BEGIN:VCARD
    VERSION:3.0
    PRODID:-//Sabre//Sabre VObject 3.5.0//EN
    UID:a1bbd1ee-4181-496d-b362-7c1e72c957e3
    FN:Max Mustermann
    N:Mustermann;Max;;;
    TEL;TYPE=home:+49 9876 54321
    TEL;TYPE=cell:+49 123 456789 
    ADR;TYPE=home;LABEL=Musterstr. 1\n12345 Musterstadt:;;Neue Str. 1;Neustadt;;12345;
    REV:20170927T203309
    END:VCARD
    

  • admin

    Here is our FAQ entry about it, since it is being asked often!

    https://davdroid.bitfire.at/faq/entry/entering-structured-addresses/

    Of course someone can patch the AOSP contacts app - but it's hard to find the individuals at Google who do it, I guess...



  • Thanks, I read your FAQ.

    If I understand it right, there is no solution for the address breaking problem between android and nextcloud. Right?

    There seem's to be no other contacts app for android available except from googles play store.

    Didn't I read anywhere that you patched the AOSP contacts app for group functionality and the lineage team has integrated your patch?



  • I found a solution.

    There is a free contacts editor app at googles playstore, which provides separate fields for street, city etc.
    https://play.google.com/store/apps/details?id=org.dmfs.android.contacts
    https://dmfs.org/editor/?getit

    It integrates itself into the aosp contacts app only for editing of contacts.

    I downloaded the apk from playstore with the webdownloader at evozi.com

    https://apps.evozi.com/apk-downloader/


Log in to reply
 

Looks like your connection to Bitfire App Forums was lost, please wait while we try to reconnect.