Android sample project showing how to handle Accounts, sharing credentials and using sync adapter.