On Wed, Sep 28, 2011 at 2:09 AM, bobo123 <[email protected]> wrote: > Thanks for your reply. > Can u tell me more details about this. > > The device WiFi will atuo turn off after a couple minutes. > All I need is turn on WiFi and reestablished network connectivity to > upload data to remote server. >
I gave you some links and told you I thought it was a bad idea? If you want to read about it, go ahead, I'd say it's most likely to make your users mad because their wifi was automatically being turned on periodically (and keep in mind that it's probably the case that majority of the time they aren't around a wifi network that is open for them to connect to.) I'd reccomend a conservative amount of caching, and then trying to find if wifi's enabled (or you at least have a route to the server, possibly through data) and if not, wait until it is. Kris -- 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

