How to add programmatically a custom account in android?
问题 I am trying to create an account for my app, where I will be able to have my contacts against my account like facebook, viber, whatsapp etc. I want my account to be visible in the account section of the settings also. Any ideas? I have googled a lot, but couldn\'t find a right answer where to start. Please help. What I have tried to create an account is as below. Which leads me to an error. Account account = new Account(\"Title\", \"com.package.nom\"); String password = \"password\";