sync

Microsoft Sync Framework Toolkit iPhone example - date format wrong?

你离开我真会死。 提交于 2019-12-11 20:17:59
问题 I am currently having trouble with upload in the sample - doesn't work with below error message "Invalid Date Time value received." It seem to be complaining about how the date is formatted as string - yyyy-MM-ddTHH:mm:ss.SS is how the iPhone sample code originally formatted it to, changed it to yy-mm-ddTHH:mm:ss:SSS as said in HTML5 example inline documentation, and few other formats, but no luck. What is the correct format? Here're what I've done to get the sample to work for download part.

sync txt file in internal storage with txt file in dropbox dropbox api

亡梦爱人 提交于 2019-12-11 19:44:14
问题 I want to sync a txt file in android internal storage (or sdcard for that matter) and have it automatically sync to a txt in my dropbox. i've used dropbox api but don't have hold on on how to achieve this. help needed please. Update: Here's my function to get the txt content to LogCat for now: public void getFromDbx(){ try { mDbxAcctMgr.startLink((Activity)this, REQUEST_LINK_TO_DBX); final String TEST_DATA = " Database does not exist yet"; final String TEST_FILE_NAME = "data.txt"; DbxPath

Time-based syncing for iOS app

点点圈 提交于 2019-12-11 19:39:51
问题 I'm trying to implement a simple sync solution to propagate a few settings between various instances of my app and my server. Changes to these settings will be infrequent and only occur on the client(s). I would like something reasonably robust without going overboard. My strategy is to track un-synced changes on the device, and when syncing, post these to the server. The server should be able to reject a change that occurred after the previous known sync for that setting. To accomplish this,

Where is the list of recent files stored?

北城以北 提交于 2019-12-11 19:04:08
问题 I would like to syncronize certain Sublime Tex2 settings between multiple computers. One thing I don't want to sync is the Recent File list. Where on the local file system does Sublime Text 2 store its list of recently opened files? 回答1: On Mac OS X this list is stored in a file called Session.sublime_session under ~/Library/Application Support/Sublime Text 2/Settings , so I'd expect it to be in the same file in Sublime's Settings folder on other operating systems as well. 回答2: On Linux it is

Azure data sync not syncing all databases

*爱你&永不变心* 提交于 2019-12-11 18:45:22
问题 I've searched for what should be a seemingly simple thing, and I can't find a reference to this issue anywhere. I have a very simple Azure Sync setup... one master database that needs to do a one way sync to three client databases. It's only syncing three tables right now (all fields), and there's no filtering at all. I've verified that the schema on all four databases is identical and my sync process returns with no errors, but when I check the data, it's only ever updated one of the three

Sync with iCal through Sync Services

心已入冬 提交于 2019-12-11 14:22:39
问题 I'm looking for sample code on how to sync with ical through sync services. Or anything that can point me to the right direction on how to do it. I've already gotten sync services up and running for my own core data schema, but I am not sure on how to do it with iCal. I found the calendar schema on apple docs on the link below, but have no idea on how to start implementing it with sync services. http://developer.apple.com/library/mac/#documentation/AppleApplications/Reference

Renderscript rs.finish(), allocation.syncAll(), copyTo() : wait till kernel execution finishes

元气小坏坏 提交于 2019-12-11 12:12:23
问题 I am writing android renderscript code which requires back to back kernel calls (sometimes output of one kernel become input of other). I also have some global pointers, binded to memory from Java layer. Each kernel updates those global pointers and outputs something. I hav e to make sure that execute of kernel1 is finished, before kernel2 starts execution. I looked at android renderscript docs, but couldn't understand syncAll(Usage) and finish() well. Can anyone clarify how to achieve this

iCloud wont sync on the first launch

你说的曾经没有我的故事 提交于 2019-12-11 12:11:31
问题 I have a bug where my app wont pull icloud inforamtion on the first launch but it does on the subsequent tries. here is my code to load a file from icloud. void DLC::loadFromiCloud(std::string fileName){ NSURL *mUbiqUrl = [[NSFileManager defaultManager] URLForUbiquityContainerIdentifier:nil]; if (mUbiqUrl) { std::string fullPath = getLibraryPath_iOS() + fileName; NSString* restorePath = [NSString stringWithUTF8String:(fullPath.c_str())]; NSError *error = nil; NSURL *fileToDownload = [mUbiqUrl

Core data + iCloud: exclude certain attributes from sync?

独自空忆成欢 提交于 2019-12-11 11:36:44
问题 I am trying to implement core data sync using iCloud. However, there is one attribute that I don't want to sync. Is there a proper way to tell iCloud to sync most managed objects and attributes, but not others? 回答1: Right now, Core Data + iCloud does not support this kind of configuration. You may have to split your Data into two Persistent Stores (lokal, cloud). 回答2: One workaround would be to add the things you do not wish to sync to an entity that includes a unique device identifier. In

Nitrous Desktop cannot sync files due to unison error

别说谁变了你拦得住时间么 提交于 2019-12-11 11:28:58
问题 I am using Nitrous Desktop (Windows 8.1 x64). Whenever I try to sync, there is an error: Error: server: end_of_file exception raised in loading archive (this indicates a bug) What all I tried: Re-create ssh keys Delete .unison folder What should be done here to sync normally? Any help appreciated ! 回答1: Deleting the .unison folder on the box did the trick. What I was trying to do is to delete the .unison folder on my local machine. 来源: https://stackoverflow.com/questions/27331349/nitrous