i am facing the same issue. plz let me know if find answer
On Monday, April 25, 2011 11:07:16 AM UTC+5:30, seema wrote:
>
> Hello All,
>
>Here is what I do to scan on wifi while connected to 3G.
>
> WifiLock wifiLock =
> wifiService.createWifiLock(WifiManager.WIFI_MODE_SCAN_ONLY,
>
Holding a scan wifilock ensures you get alteast scan capabilities and keeps
wifi up - the system is still in control of whether wifi needs to connect
when its turned on
On Wed, Jun 1, 2011 at 10:38 PM, seema wrote:
> Hello All,
>
> Here is what I do to scan on wifi while connected to 3
Hello All,
Here is what I do to scan on wifi while connected to 3G.
WifiLock wifiLock =
wifiService.createWifiLock(WifiManager.WIFI_MODE_SCAN_ONLY,
"MyLock");
if(!wifiLock.isHeld()){
wifiLock.acquire();
}
if(wifiService.isWifiEnabled() == false){
3 matches
Mail list logo