Hi, Mark.

there seems to be documentation about using the SyncAdapter for this
type of operation but that the implementation requires
ContentProviders. Ideally, my app would be able to sync with the cloud
on some basis, say hourly, the same way sugarsync does with my phone,
table and laptop. Am I misunderstanding the role of the SyncAdapter?


On Jan 19, 9:56 am, Mark Murphy <[email protected]> wrote:
> A content provider would have nothing much to do with it.
>
> If you wish to upload files, upload them. If you wish to download
> files, download them. There is nothing in the Android SDK that is a
> "sync this directory of stuff with this online counterpart". I'm not
> even aware of a third-party solution for that, though I seem to recall
> there was some work going on for a git client library.
>
> On Thu, Jan 19, 2012 at 12:53 PM, Ab Caballero <[email protected]> wrote:
> > I have an application that stores files to the SD card of the device.
> > If I want to sync that data with the google cloud, do i need to write
> > a content provider, or is there some other way to share the data?
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to [email protected]
> > To unsubscribe from this group, send email to
> > [email protected]
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> Warescription: Three Android Books, Plus Updates, One Low Price!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to