Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8155739
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T16:45:10+00:00 2026-06-06T16:45:10+00:00

Hello dear Stackoverflowers ! I work on a CardDAV sync source for Android 2.3.3,

  • 0

Hello dear Stackoverflowers !

I work on a CardDAV sync source for Android 2.3.3, and I don’t understand a think.
I read carefully the document about samplesyncadaptater, which works only for reading contacts from distant serveur.
But in my case, I’m trying to add a source that aloud to both read contact from server and write contact to server.

At this point:
– My project appears when you want to add a sync source in Android.
– I can parametize my source and authentication works
– When I go to contact app and go to the account visibility option (menu name depends of your phone rom) I can select my source to show its contact
– but when I try to create a contact, only my gmail and outlook source are provided.
Maybe I miss someting in the various xml file I need.

Plz help me I put my different xml files…

Here’s the Manifest.xml

<?xml version="1.0" encoding="utf-8"?>
<manifest package="android.carddav"
android:versionCode="1"
android:versionName="1.0" xmlns:android="http://schemas.android.com/apk/res/android">
    <uses-permission
    android:name="android.permission.GET_ACCOUNTS" />
<uses-permission
    android:name="android.permission.USE_CREDENTIALS" />
<uses-permission
    android:name="android.permission.MANAGE_ACCOUNTS" />
<uses-permission
    android:name="android.permission.AUTHENTICATE_ACCOUNTS" />
<uses-permission
    android:name="android.permission.INTERNET" />
<uses-permission
    android:name="android.permission.WRITE_SETTINGS" />
<uses-permission 
    android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission
    android:name="android.permission.WRITE_SECURE_SETTINGS" />
<uses-permission
    android:name="android.permission.READ_CONTACTS" />
<uses-permission
    android:name="android.permission.WRITE_CONTACTS" />
<uses-permission
    android:name="android.permission.READ_SYNC_STATS" />
<uses-permission
    android:name="android.permission.READ_SYNC_SETTINGS" />
<uses-permission
    android:name="android.permission.WRITE_SYNC_SETTINGS" />

<uses-sdk android:minSdkVersion="10" />

<application
    android:icon="@drawable/icon"
    android:label="@string/app_name" >
    <service
        android:name=".authenticator.AuthenticationService"
        android:exported="true">
        <intent-filter>
            <action
                android:name="android.accounts.AccountAuthenticator" />
        </intent-filter>
        <meta-data
            android:name="android.accounts.AccountAuthenticator"
            android:resource="@xml/authenticator" />
    </service>
    <service
        android:name=".syncadapter.SyncService"
        android:exported="true" android:enabled="true">
        <intent-filter>
            <action
                android:name="android.content.SyncAdapter" />
        </intent-filter>
        <meta-data
            android:name="android.content.SyncAdapter"
            android:resource="@xml/syncadapter" />

    </service>
    <activity
        android:name=".authenticator.CardDAVActivity"
        android:label="@string/app_name" 
        android:excludeFromRecents="true">
    </activity>
</application>
</manifest>  

Here’s the syncadaptater.xml:

and finally here’s the authenticator.xml:

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T16:45:12+00:00Added an answer on June 6, 2026 at 4:45 pm

    my response is there :
    https://stackoverflow.com/a/11153652/1195001
    you need to create an activity with the data fields you need, and call it with the intent filter in the link.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hello dear programmers, I am very new to android application development and for practice
Hello Dear StackOverflowers, I am new to web programming and finding the server-client mixture
Hello good fellas i'm sure everybody is cool.I'm about to start a tutorial about
Hello ever one I want to ask a question about file opening.I want to
Hello dear users of the stackoverflow! I really like the search form on this
If I have two strings .. say string1=Hello Dear c'Lint and string2=Dear .. I
Hello all i got a mail code like this body = Dear & cName
hello dear developers. first of all - sorry for being the newbie.. i am
Hello everyone i am developing an quiz based app in android and i have
Hello dear members of stackoverflow I've recently started learning C++, today I wrote a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.