Hi, Currently, i am writting an instrumentation test case to test wifi APIs. I inherit my test case from ActivityInstrumentationTestCase. But there is one problem I have run into that execution of startScan() in test case always return fail after wifi is turned on, but turn on/ off (call setWifiEnabled)can be successfull. i copy same code out to activity, then startScan() return succuss. It's strange that startScan () will fail in instrumentation test case, but setWifiEnabled will not, these 2 APIs share same permission.
any advice to help me ? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---