On Wed, Sep 28, 2011 at 1:26 AM, bobo123 <[email protected]> wrote: > Thanks for your reply. > Can you tell me more details. > Actually WiFi turn off after a couple of minutes. > When alarm comes, The code is required to reestablished network > connection and then upload data. >
That's not the point, usually people assume that the devices they execute on have a data plan (obviously this isn't so much the case anymore). http://www.tutorialforandroid.com/2009/10/turn-off-turn-on-wifi-in-android-using.html Might point you in the right direction, however. (But fyi, I think turning your users' wifi on and off *for* them is a bad design.) 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

