
How can obtain the last update date from the sync adapters services (marked with red) ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Interesting. The API would (almost have to be) on
android.content.ContentResolveras that’s where periodic sync and enable/disable sync is managed. There’s no API there to request it.Are you trying to find this value for your own SyncAdapter or for a third party app?
With your own SyncAdapter, you obviously can just store date() into a single-row sqlite table within your ContentProvider and reference it either from the SyncAdapter or the app.
For a third party app, that information… might not be avaliable?