View Single Post
Old October 5th, 2010, 06:12 PM   #1 (permalink)
Dramarenko
Junior Member
Thread Author (OP)
 
Join Date: Oct 2010
Posts: 32
 
Device(s): Eken M002
Carrier: Not Provided

Thanks: 3
Thanked 1 Time in 1 Post
Smile Turn ON/OFF WIFI from my app

Hi Guys

I want to turn on/off the wifi from my app to save battery. (Because when i press the "power button" the screen is off but the WIFI is still connected and consuming battery.)

I've a Webview app and i will add a menu with follow options:
  • WIFI ON/OFF
  • Open WIFI Settings
How can i do this?

Maybe an other wifi icon in the Android toolbar that when i push down the wifi is on/on? this app already exist?

Have you a better idea? help me!
Dramarenko is offline  
Reply With Quote