Hi kostya Vasilyev,
thanks for your suggesion .....in android sourece code where can i see 
related code 

On Wednesday, January 9, 2013 4:19:47 AM UTC+5:30, Kostya Vasilyev wrote:
>
> The system already does this, except since 2.3 the default 
> out-of-the-box setting is to not switch off WiFi when the device goes 
> to sleep (I assume it's because the hw can be put into some sort of 
> low-power mode). 
>
> This can be changed in system settings -> wireless -> WiFi -> Menu -> 
> Advanced -> "Keep WiFi on during sleep" -> "Only when plugged in" or 
> "Never". 
>
> -- K 
>
> 2013/1/9 TreKing <treki...@gmail.com <javascript:>>: 
> > On Tue, Jan 8, 2013 at 1:16 AM, kmr <kchin...@gmail.com <javascript:>> 
> wrote: 
> >> 
> >> can any one help me how to turnoff wifi when device goes to sleep mode 
> or 
> >> ideal mode. 
> > 
> > 
> > I don't know what "ideal" mode is, but I thought the wifi is turned off 
> when 
> > the device sleeps ... ? 
> > 
> >> 
> >> i have no idea about android frame work ....from where i have to start 
> and 
> >> where i have to modify the code in android source. 
> >> i wanted to know the complete flow from android frame work to driver 
> level 
> > 
> > 
> > Go to the main Android Developer site and do some research. 
> > 
> > 
> -------------------------------------------------------------------------------------------------
>  
>
> > TreKing - Chicago transit tracking app for Android-powered devices 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> > Groups "Android Developers" group. 
> > To post to this group, send email to 
> > android-d...@googlegroups.com<javascript:> 
> > To unsubscribe from this group, send email to 
> > android-developers+unsubscr...@googlegroups.com <javascript:> 
> > For more options, visit this group at 
> > http://groups.google.com/group/android-developers?hl=en 
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to