Android :: Scan For WiFi Networks Not Working

Jun 5, 2010

I'm trying to scan for wireless networks and found this helpful source on the net. Unfortunately it's not working and I have no idea why. My problem is that I can't wait 10 minutes for the result - I need them within a few seconds and thought about setting the boolean variable waiting on false as soon as I get a result, well it runs forever. Looks like nothing is received.

// -- Sample WiFi implementation - http://groups.google.com/group/android-developers/browse_thread/thread/f722d5f90cfae69 IntentFilter i = new IntentFilter();
i.addAction(WifiManager.SCAN_RESULTS_AVAILABLE_ACTION);
registerReceiver(new BroadcastReceiver(){
@Override public void onReceive(Context c, Intent i){
// Code to execute when SCAN_RESULTS_AVAILABLE_ACTION event occurs
mWifiManager = (WifiManager) c.getSystemService(Context.WIFI_SERVICE);
wireless = mWifiManager.getScanResults(); // Returns a <list> of scanResults
waiting = false;
} } ,i);
// -- End Wifi Sample mWifiManager.startScan();
while (waiting) { try { Thread.sleep(200);
} catch (InterruptedException e) {
// TODO Auto-generated catch block e.printStackTrace();
} Log.d("PROJECT1","Wifi WAITING");
}

ADVERTISEMENT

Android :: Scan For WiFi Networks Done Passively Or Actively?

Aug 9, 2010

I am programming for google android and I wonder if the scans for wireless 802.11 networks are done passively or actively? I mean: Does the device actually emit a beacon request signal on
WifiManager.startScan()
Or does it just listen for beacons sent periodically by the access points?

View 1 Replies View Related

Samsung Captivate :: Unable To Scan WiFi Networks

Aug 4, 2010

It happened to me last night on the Captivate. I tried battery pulls, deleting the WiFi nets, etc., but it still kept turning WiFi off within a minute of turning it on. I did a factory reset (I'm getting better at this process. Can restore my device back to its former glory within an hour).

View 2 Replies View Related

Samsung Galaxy S :: Unable To Scan For Networks In WiFi

Sep 8, 2010

I'm having the dreaded "Unable to Scan for Networks" in the WIFI. Can I fix without doing a reset? I'm on vodafone UK. All the info I have been reading points to me having to do a master reset. Or deleting a file if my phone is rooted. Can I root my phone to do this? or is this not possibly on a voda contact mobile. After I accidentally removed my WiFi from my phone. Then added it again. Getting my WiFi working. Info about Rooted phones (is it possible with mine?). A good backup software for PC, is kies any good what does it backup?

View 1 Replies View Related

Samsung Captivate :: Unable To Scan For Networks / Turns Wifi

Aug 26, 2010

I got the samsung captivate for AT&T a couple of weeks ago and have run into a few problems with it:
1) Wifi worked great for a while, but now it says unable to scan for networks and turns the wifi off...this wouldn't be too bad if I had a big data plan but I do not.
2) Battery Life...fml
3) I cannot find ANYWHERE any supporting software to sync media files with my PC
4) The drivers will not install on my computer
5) Way too many apps are using data without me even opening them (navigation, yahoo mail etc...) I have AdvAppKiller but that gets old
It is wonderful having such a wonderful, fast device with 16 gb of memory, but these shortcomings are making me realize why I enjoyed a flip phone for so long.

View 19 Replies View Related

Samsung Galaxy S :: WiFi Turned On - Unable To Scan For Networks

Jun 14, 2010

When I turn WiFi on, it always say "Unable to Scan for Networks". I tried to turn off, pulled the battery, turn back on but does not make any different.

View 9 Replies View Related

Samsung Captivate :: Error Starting Wifi Scan - Or Unable To Scan For Wifi Access

Aug 16, 2010

phones worked good other then gps issue. recently after iv had the phone for 30 days it just stopped scanning for wifi access and wont turn on wifi at all.

View 3 Replies View Related

Sony Ericsson Xperia X10 :: Wifi Networks Is Not Working

Oct 23, 2010

Connect to WPA2-EAP ent wifi networks is not working. Any solutions?

View 40 Replies View Related

Samsung Vibrant :: Wifi Not Working - Unable To Save Networks

Aug 24, 2010

I turn it on, it says its on for like 10 seconds and at the bottom of the screen it says "unable to save networks" and then it says "unable to scan networks" and then it turns right back off

View 3 Replies View Related

Samsung Captivate : OTA Update - Not Scan For Networks And Just Turns The Wi-fi- Off

Sep 25, 2010

Just a quick question for everyone that has done the OTA update. Is your Wi-Fi- working. Mine will not scan for networks and just turns the wi-fi- off.

View 6 Replies View Related

Samsung Moment :: Unable To Scan For Networks After CL14 Update

Feb 17, 2010

I'm having a strange issue with WiFi on my Samsung Moment (post CL14 update). I don't remember having this issue prior to the update but I can't say for sure that it was something that started immediately after receiving the update. Whenever I turn on WiFi, it says "Scanning" for about 5 seconds, then an "Unable to Scan for Networks" window pops up. Sometimes it scans just once, other times it scans 2 or 3 times, but eventually it automatically turns off the wireless. At first, I thought the problem was caused by a WiFi toggle widget, so I tried factory resetting the phone to remove all of my downloaded apps, but I had no luck.

View 20 Replies View Related

Android :: Can Phone Pause WiFi Scan Requests?

Aug 19, 2010

I wrote an android application to request a scan for available WiFi signals around, using the WifiManager, then dump the results to a file. The program works fine, but this weird bug occurs. Initially I was requesting a scan every 30 seconds, and everything worked fine. I then tried to request a scan every two seconds, I get this strange bug. Everything will work fine for a few minutes, then the time between two scan requests jumps from 2 seconds to 50 seconds for no reason.

Then, for four more scans, it will scan at 2-second intervals, then skip to a 50-second interval, and it continues to do this consistently. With larger time intervals this bug does not appear. Has anyone experienced this bug before? Is there a way to prevent it? Or does Android automatically cancel scan requests if they are too frequent?

View 1 Replies View Related

Sprint HTC Hero :: Some WiFi Networks Not Available

Jul 16, 2010

I got 2 Sprint HTC Heros 3 wks ago. They work fine with any WiFi network that shows up as available. Other WiFi networks are completely ignored and do not show up in the list of available networks. I installed WiFi Analyzer and it is also prevented from seeing the same "invisible" networks. One WiFi network which does not show up is my home network. Last weekend I was at a B&B in another state and had the same problem with their network. Their network was up and running and visible to other hardware but not to our Heros.

Our home WiFi router is a Linksys WRT110 running WPA-2 Personal AES. There typically are three devices on this network: 2 @ g and 1 @ n. I have seen other WPA-2 Personal networks show up as Available while traveling but have no idea what routers were used. I called Sprint support and eventually got to someone in Tech support who put me on hold after I explained the symptoms. 20 min later the call was dropped. So much for Sprint tech support .

View 5 Replies View Related

Android :: WiFi Range And Ad-Hoc Networks

Oct 14, 2010

I am initiating the design of an application that would require an Android phone to connect to another Android phone via Ad-Hoc networking with or w/o security. I would like to know if Android supports ad-hoc networking. I would also like to know what is the average range of the wifi signal from an Android handset point-to-point with no obstructions. I cannot find any information about this on the web.

View 10 Replies View Related

HTC Hero :: WiFi Networks Not In Range?

Nov 10, 2009

I got the Hero on 3UK yesterday. As soon as I booted it up it found a number of wireless networks and I was able to connect to my BeBox with no problems. Later on last night and continuing today, it can't find any networks in range. It shows the BeBox as 'remembered' but not in range. Even tho I'm obviously sitting near it. I've rebooted the phone today and no change. I installed the Fonera application yesterday and thought it might be causing problems so disabled it and still the problem was there.

View 2 Replies View Related

HTC Incredible :: Connecting To Ad-Hoc WiFi Networks

Sep 8, 2010

Now I wish there was a way to connect my Non-Rooted Froyo Incredible to Ad-Hoc WiFi networks, but I can't seem to find a way. Does anyone know of any ways to connect my Incredible to my Ad-Hoc WiFi networks? Because that would be the only reason I would root my incredible, but I wouldn't do it if there wasn't a solution available.

View 4 Replies View Related

Motorola Milestone :: No WiFi Scan For Office Wireless Network

Sep 29, 2010

I got myself a Samsung Galaxy S. And decided to sell my Milestone to a guy. So when he is testing out the phone the WiFi doesn't scan his office WiFi. It scan every WiFi around us except the office WiFi. I use my Milestone's WiFi all the time. And all the time it scan and detect all the WiFi. Infact 30 mins before the sale I was using the Milestone's WiFi at school to find a map to his place.

Weird thing is when I use my Galaxy S to scan WiFi, it scanned all the WiFi and his office's WiFi too. So does anyone know why my Milestone is able to scan everyone else WiFi except his office's WiFi? It couldn't be hidden because my Galaxy S was about to scan his WiFi. This is extremely bad luck, because I know my Milestone is in perfect working condition and now he would think I'm scamming him.

View 4 Replies View Related

Android :: WiFi Emulator - Scan - Discover Hot-Spots Or WLAN's

Mar 17, 2009

I am currently doing my Bachelor Project concerning Android Programming.

Therefore i need a possibility to SCAN/DISCOVER Hot-Spots or WLAN's where i can connect to.

In many topics i have read, that the EMULATOR does NOT support WiFi scan with WiFiManager. I also tried using ConnectivityManager or BroadcastReceiver. But it doesn't ever work.

So my question ist the following - is it CORRECT that the emulator does not support any kind of WLAN Scan/Discovery? I need as many comments on this as possible - because only if its REALLY true, that the emulator does not provide WIFI functioanlity, then i can ask for buying a Dev Phone.

And if so, WHY there is no WiFi support within the emulator...?

View 2 Replies View Related

Samsung Galaxy S :: Cannot Connect To WiFi Networks

Oct 2, 2010

My SGS (well its actually my wife's but I use it also) will not connect to WiFi networks, other than the one we have at home. If we are out, the phone will be able to see lots of WiFi networks, but it cannot connect to any of them as it says the signal is poor. Other people can be sat right next to other with other phones and have no problem connecting and they have strong signals. At home it will connect, but even then there is only one bar of signal, even though the router is in the same room. It appears that the phone just cannot get a strong enough signal to connect.

View 1 Replies View Related

HTC Desire :: Unable To Detect Some WiFi Networks?

Nov 7, 2010

The wireless network in my area follows the EALP/PEAP protocol which isn't supported on Android phones. So, I tried setting up local WiFi hotspots from my laptop to enable WiFi. But my phone doesn't detect that wireless network at all. My friend's Nokia E51 detects the hotspot, but not my HTC Desire. I tried detecting hotspots created from other laptops but the result remains the same. The E51 detects it but the Desire does not. Do I have to change some settings that I am unaware of?

View 5 Replies View Related

HTC Incredible :: Different WiFi Networks And Battery Life?

Sep 4, 2010

I started using WiFi exclusively at home and my office after reading about the benefits on here. I noticed a tremendous increase in battery life. But when I'm on WiFi at my gf's parents house, the battery drain isn't even about the same as 3G it seems like it is much worse. What could be causing this? The signal strength is often better at this location than home/office so that shouldn't be the problem.

View 7 Replies View Related

HTC Hero :: Cant Connect To Any Open Networks Via WiFi

Jul 11, 2010

OK I cant connect to any open networks via WiFi, I have set up fine on my home network..M i missing something. Also i couldn't get this to work with the stock orange 1.5, but didn't really explore why either. As i was ok with home use. I am traveling away from home more now and would like to connect to a open network. I have asked if i need a password and username but still no joy.. Is it a safety measure from orange i need to unable?

View 4 Replies View Related

Samsung Captivate :: Why Scan WiFi Connection Everytime To Connect Network?

Sep 4, 2010

My wifi will turn on, but will scan for or connect to networks. Anyone had this issue and know how to resolve it?

View 7 Replies View Related

Motorola Droid :: Wifi Tether - Wireless Networks

Mar 23, 2010

I just installed the wifi tether. i opened the app up, changed my ssid, and pasephrase. I then went to my laptop to search for wireless networks and I can't find my droid. What could I have done wrong. also...i thought maybe I had to turn on wifi in the phone settings. when I went to turn on, it said it was unable to turn on wifi. I went back to the tether and turned it off but the phone settings still could not turn on wifi.

View 10 Replies View Related

Android :: Connecting To 3G And WiFi Data Networks Simultaneously?

Jul 13, 2010

We have an application where we'd like to use the WiFi connection on a local network (intranet) with no Internet connectivity, and use the 3G connection simultaneously as the data connection to the internet. To summarize:

We need to connect to two distinct networks at the same time - We need data traffic to be properly routed to the appropriate network based on its IP address - We need both radios (WiFi and 3G) on and active. This can easily be done on the iPhone, but not sure if it can be done on the Android.

View 21 Replies View Related

Android :: Need WiFi App To Choose Which Networks Phone Will Connect To

Apr 30, 2010

I'm looking for an app that will automatically enable my wifi for designated networks. Basically, the only location currently I really desire to use wifi is at home since if I'm at home, my phone is likely charging (since wifi eats battery) and the speed beats 3G. I'm going through appbrain.com and finding a lot of apps that automatically scan and connect to open networks, automatically connect to the fastest network, a bunch of wifi toggle widgets...nothing really for making conditions for what networks it will connect to, especially one that has a password.

View 4 Replies View Related

Sony Ericsson Xperia X10 :: How To Connect To Wifi Networks

Aug 11, 2010

For some reason my wifi wont conect to my homes wifi as of last night? i have had the x10 months and had no problems but my girlfriend bought the x10 mini yesturday, showed her how to connect it up to wifi networks i.e my own home one, then since that my x10 will not connect to mine an say unsuccessful even tho it will connect to any others. as it is very annoying having to boot the pc up to get on the web.

View 2 Replies View Related

Android : Best Wifi App That Automatically Connect To Open Networks?

May 17, 2010

I'm downloaded several wifi apps, but I'm looking for one that will automatically connect to open networks.
Or at least to saved/remembered networks without me having to scan and connect.

View 3 Replies View Related

Android :: Application To Control WiFi Networks To Sync Exchange?

Aug 2, 2010

Anybody know an app that can control what to sync, and what not to sync on a WiFi network. I would like my hero only to sync exchange when at work.

View 1 Replies View Related

Motorola Milestone :: ADHOC Networks Doesn't Appear On Regular Wifi Settings

Jun 9, 2010

I noticed on my Motorola Milestone 2.1, that ADHOC networks doesn't appear on the regular wifi settings , I cannot connect to my laptop for internet sharing (notebook to phone) Anyone noticed this problem or is it me?

View 6 Replies View Related

Android :: Wifi Networks For Droid Phones Based On Access Point Names?

May 9, 2010

Does anyone knows if the wifi networks for android phones are based on Access Point Names (APN) ? I ask because in my android application I plan to overwrite some fields in all APN's to disable cellular network, but I still want to have available the wifi for the user.

View 1 Replies View Related

HTC Droid Eris :: Wifi Wont Automatically Connect Unless Viewing List Of Networks

Jun 26, 2010

I'm having an issue with my wifi not connecting. I have to AP's in my house, on different channels. They work perfectly fine. I have the wifi toggle setting on the home screen that I usually press to toggle the wifi on/off. Recently, it hasn't been working after I disconnect from 3G and connect to wifi. It says the wifi is turned on, but it won't connect to either of the remembered APs. The only way to get it to automatically connect is to go to settings and view the list of APs. Only then will it connect to one of the two APs. This is really annoying, as it seemed to only start this recently and nothing has changed. My wifi sleep policy is never to turn off. It's a droid eris with 2.1 OTA. Ran a virus scan, nothing. Any ideas?

View 3 Replies View Related

HTC Desire :: WiFi Connection Not Working After Using WiFi Hotspot?

Oct 8, 2010

I decided to try the WiFi hotspot available through 2.2. GREAT! Actually worked quite a bit better than I thought it would. Only trouble is, ... now I'm back at home, it fails to connect to the home network.

+ Restarting phone
+ Re-entering password
+ Forgetting network + refinding

WiFi sees the network, says "Connecting", comes up "Failed to connect", "Scanning" and loops on that sequence. I know the router's working because this laptop is using it right now

View 7 Replies View Related

Sony Ericsson Xperia X10 :: WiFi Working Earlier Now Stopped Working?

Sep 3, 2010

Had WiFi working earlier now it has stopped but laptop still working ok?

View 1 Replies View Related

HTC EVO 4G :: WiFi Routers Not Working

Jun 9, 2010

Just curious, what router are you using that plays well with the EVO?I ask, because my Belkin N-router is not working with my EVO.

View 11 Replies View Related

HTC Eris :: Wifi Not Working

Aug 15, 2010

It stopped working about two weeks ago. I've been using this ROM and JIT for several months. I can't connect to my or any other wireless network. It says "obtaining address" and never goes anywhere after there. setting a static IP would fix it, but I'd like to get to the root (pun) of the problem.

View 3 Replies View Related

HTC EVO 4G :: Wifi Not Working On Rooted 2.2

Aug 31, 2010

i rooted my 2.2 using the xda method but my wifi dont work it connect for a sec and the disconnect and it keep repeating this over and over i try a few different rom right now i am trying the virus and still having the problem any idea waz the reason for this wifi issue?

View 3 Replies View Related

HTC Magic :: Not Working On Wifi

Jul 3, 2009

I got my HTC magic yesterday when i was away from home, I home earlier today and thought i would get the phone setup on my wireless, the phone detects every other network in my area except mine. I am currently writing this on my laptop via the wireless connection and it is detected by another pc wirelessly and my old N95 8Gb, its not out of signal as i have tried it almost sat on the router. I have checked through the routers setup and cannot see any settings that are wrong or would effect this.

View 7 Replies View Related

HTC EVO 4G :: WiFi Tether Not Working - Fresh 3.1.0.1

Aug 17, 2010

My WiFi-tether is not working with Fresh 3.1.0.1. I had read before this was an issue, has this been fixed?

View 2 Replies View Related

HTC EVO 4G :: Wifi Simply Stopped Working

Jun 18, 2010

I searched but didn't find anything like this. Wifi on my Evo just doesn't work anymore. I've restarted, cycled all the radios (3G, 4G, BT, etc) on and off thinking something might be hung somewhere, but nothing seems to work. I told it to "forget" my router and then re-entered the password, but it still will not connect to my router either at work or at home. The service will start, but it will not connect to any networks. I'm sure it's some setting or perhaps some app I installed, but I figured while I dig deeper into the issue, it couldn't hurt to start a thread here and perhaps get some suggestions. this is nuts, but I hit the sunken "reset" button on the router and now everything works great again. I'm pleased to know there was nothing wrong with the phone, but perplexed about the router. I guess I'll have to dig into the router settings and see if I can figure out what went wrong.

View 1 Replies View Related

Samsung Captivate :: WiFi Not Working / Way To Fix?

Jul 18, 2010

I swear that WiFi seems to quit working half the time. I'll be browsing the web, it will quit working, and I can turn WiFi off and 3G works just fine. When I re enable Wifi, it works for a bit and then does it again. I'm on a 24MB/s Internet connection, and everything else wireless in the home works fine(my iPhone 4 works flawlessly).

View 11 Replies View Related

HTC Hero :: Browser Not Working With WiFi

Mar 21, 2010

For some reason the browser on my G2 Touch has stopped working with wifi. Its works fine over the air just not when wifi is connected. Everything else works fine with wifi, email, ebuddy etc just not the browser.

View 5 Replies View Related

HTC Desire :: Wifi Not Working After 2.2 Update

Sep 9, 2010

I have just downloaded and installed the 2.2 update (2.10.405.2) and everything went well except now my wifi will not work. I go into the wifi settings and it says "error" next to the wifi tab and it will not turn on.

View 49 Replies View Related

HTC Tattoo :: WiFi Connected But Not Working?

Feb 14, 2010

I've got this problem with my tattoo. I connected with my router and it says I am connected. But when I try mail, gmail or browser it all doesn't work. It says I am connected but it doesn't work?

View 2 Replies View Related

HTC EVO 4G :: Internet Not Working On WiFi After Update / Way To Fix?

Jun 30, 2010

Just did the update and now my Internet wont work on WiFi. Everything else works except the Internet. I'm using the router from my home and it has always worked fine. How can I fix this?

View 1 Replies View Related

ADVERTISEMENT