My application needs to synchronize some data from server. I added necessary classes (similarly to SampleSyncAdapter) now I can add account via \"Settings/Sync and Accounts\
Don't you have to add to the following code posted by Evan Elliott :
Account account = new Account("Title", "com.package.nom");
String password = "password";
AccountManager accountManager = AccountManager.get(context);
accountManager.addAccountExplicitly(account, password, null);
The following: ?
authenticator.xml
and permissions?