How do I implement an Account on Android without a SyncAdapter
问题 I am implementing a login system for an Android application utilizing the built-in accounts system (with the AccountManager APIs). All is well and good on Android 2.2+, but on Android 2.1 not including a SyncAdapter causes reboots in the account settings screen (see http://code.google.com/p/android/issues/detail?id=5009 and AccountManager without a SyncAdapter?) To get around this I implemented a stub SyncAdapter, which just returns null from IBinder onBind(Intent intent) , and added the