Own sync adapter for Android?

前端 未结 7 1188
南笙
南笙 2020-12-07 08:46

The press release of Android 2.0 states that the new release supports sync adapters so that emails and calendars cannot only be synced with gmail and exchange. However, ther

7条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-07 09:08

    The article of Kyle Miller (March 10, 2012) summarizes how to get started with the SampleSyncAdapter project contained in the SDK samples. He describes how you can add an account for the app in the system settings of your phone. Basically, he explains how the classes AuthenticationService, Authenticator and AuthenticatorActivity are used to handle the server authentication using a token. At the end of the article are some words about authenticator.xml, syncadapter.xml and contacts.xml.

提交回复
热议问题