I would set up a function with a try catch block that would try to connect with the server together with a timer that runs the function every few minutes. I would store the data locally in a SQL Lite database. Once you get a connection, sync the data.
--- In flexcoders@yahoogroups.com, "mark.embrey" <mark.c.emb...@...> wrote: > > What is the best way to to store data locally while offline and to > automatically detect a connection and sync local data with remote services? > > thanks! >