android - syncadapter without internet connection -



android - syncadapter without internet connection -

i have sync adapter works fine. not need net connection because needs sync addressbook local storage (my application). when wifi turned off , device not have net connection android disables sync in business relationship & synch settings activity.

is there way maintain synch adapter on when connection off?

add extra sync_extras_manual before calling requestsync(account,authority, extras);

extras.putboolean(contentresolver.sync_extras_manual, true); contentresolver.requestsync(account,authority, extras);

android connection android-syncadapter

Comments

Popular posts from this blog

delphi - blogger via idHTTP : error 400 bad request -

c++ - compiler errors when initializing EXPECT_CALL with function which has program_options::variables_map as parameter -

How do I check if an insert was successful with MySQLdb in Python? -