Hi all, In my application i am implementing wifilock but it gives me exception code -------- wifi_ManagerObj = (WifiManager) getSystemService (Context.WIFI_SERVICE); wifi_LockObj = wifi_ManagerObj.createWifiLock("wifi_myLock"); wifi_LockObj.acquire(); exception -------------- E/AndroidRuntime( 331): java.lang.Exception: WifiLock finalized while still held: wifi E/AndroidRuntime( 331): at android.net.wifi.WifiManager $WifiLock.finalize(WifiManager.java:720) E/AndroidRuntime( 331): at dalvik.system.NativeStart.run(Native Method) How to avoid this exception Need help Thanks Dilli --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---