android-syncadapter
Presence status on custom contacts dissapears after short time
I made my own SyncAdatper to add contacts of my app to contacts on the phone. Everything is working now (picture, status, custom action, etc) except for presence status.[详细]
2023-03-08 05:27 分类:问答How to signal sync-complete to the Android SyncManager?
I was using cancelRequest() from within my SyncAdapter, just before it exits its thread, but I then decided that was only intended to be used by another entity (UI) that wants to cancel a sync in prog[详细]
2023-03-01 04:13 分类:问答Custom SyncAdapter without using ContentProvider
I want to create my own SyncAdapter, that syncs information from my app with some server. The thing is - I want the sync itself to run from my own application\'s context, using my own connection to th[详细]
2023-02-28 16:08 分类:问答Error while reading content provider label
So, I trying to implement synchronization based on SyncAdapter of my content provider and server. Seems everything created and initializated well and I can see my account in Accounts&Sync and also[详细]
2023-02-28 15:27 分类:问答How synchronization with SyncAdapter works on android?
If I need to start synchronization adhoc, I use requestSync. 开发者_如何学运维But looks like it doesn\'t work when setIsSyncable defined as false. How to initiate synchronization by user request in th[详细]
2023-02-22 05:26 分类:问答When SyncAdapter runs synchronization on android?
Let\'s say, my application implements SyncAdapter functionality and doesn\'t define periodic syncs. When synchronization will happen in such scenario? First scenario I may think about is local Content[详细]
2023-02-22 01:53 分类:问答How to define frequency of SyncAdapter updates on android?
ContentProvided开发者_开发技巧 defined for synchronization is dummy (in accordance with this approach).If API > 8, (95% of devices) use ContentResolver.addPeriodicSync()[详细]
2023-02-21 21:00 分类:问答Sync-adapter and contentAuthority - how to define?
I am creating my own content provider. I supposed to choose unique name for contentAuthority. But if I define this in a standard way like \"com.example.someth开发者_JAVA技巧ing\", then the same value[详细]
2023-02-21 08:34 分类:问答Has anyone implemented (or got more info) on Android SyncObserver
I am developing an app in Android that performs a background sync开发者_开发知识库 with a server (using SyncAdapter and authentication etc).[详细]
2023-02-20 22:40 分类:问答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).[详细]
2023-02-18 14:30 分类:问答