Hi,

As per docs (
http://developer.android.com/reference/android/net/wifi/WifiManager.html#WIFI_MODE_FULL_HIGH_PERF)
 
it's possible to control the network power (and importantly PERFORMANCE) 
mode on Android revision 12 and higher.
Currently, I am in the need to do this on lower version and figured that 
creating a lock with hard-coded constant "3" (the value from the level 12 
android SDK)
wifiLock = WFMngr.createWifiLock(3, "MyWifiLock"); 
works also on Android 2.3.3. A further look into the SDK sources revelead 
(if I am correct) that Android does not check the provided value, it merely 
forwards it to the driver. My aim is to use this line of code from Android 
1.6 onwards, or maybe starting from 2.1. 
The kind of answer I am looking for here is whether my hypotesis (this 
setting is driver dependent, not android version dependent) is correct and 
if not, what kind of errors can I expect?
Thanks.

-- 
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

Reply via email to