06-26-2012 12:50 PM
06-26-2012 12:54 PM
06-26-2012 01:01 PM
06-26-2012 01:04 PM
06-27-2012 05:17 AM
If you cannot do what you want, then want what you can do!
As I see it you have the following scenario:
* The app gathers data which needs submitting to a server
* In case there is a data connection, no problem. Data is sent immediately.
* In case there is no data connection, data needs to be stored locally until there is a connection.
You'd like the last bullet to be performed automatically. You could use timers or hook up a function to a couple of strategic events (all user interactions, open close & switch to background of the app)
But from the user point of view it can be done much more simple. The user should know when data connection is made available. So you could make a GUI element somewhere on the index page that shows "Data pending" when there is data waiting with a button "Send now" next to it. Simple and easy, and perfectly acceptable for the user. Not??