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?

Android :: Scan for WiFi Networks Done Passively or Actively?


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");
}

View 4 Replies View Related

General :: WiFi / Unable To Scan For Networks

Mar 18, 2013

In Jan. I switched from Sprint to a different carrier and got a new phone with the new carrier which left me with my HTC Evo 4G and I've been trying to use the Wifi so I can use it at work or at home when I don't feel like using my laptop and whenever I try to turn my WiFi on it just turns on then off and tells me "Unable to scan for networks".

I've noticed that it says that my IP address is unknown and Bluetooth isn't working either. I did a factory reset on my phone and all that did was delete my Doctor Who background.

Sidenote: my husband was on my family plan and he had the same phone with the same service and his WiFi is working fine.

View 3 Replies View Related

General :: WiFi Unable To Scan For Networks

Apr 20, 2012

After rooting with DooMLoRD v4 tool my china A6380 Android 2.3, which has mt6516 416MHz and Android 2.2.1 instead, wifi stopped working.

Tried unroot and factory reset but no luck, still "Unable to scan for networks".

logcat follows:

D/AudioStreamHandler( 51): Asm_Afe_Start(ASM_AFE_MODE_NORMAL)
I/WifiProxyDialog( 213): >>> onReceive()
I/WifiProxyDialog( 213): >>> handleWifiStateChange()
D/AudioYusuHardware( 51): setMasterVolume=1.000000, avaliable device=2
D/AudioYusuHardware( 51): Audio_Match_Output_device mRoutes = 2 mMode = 0 Mode = 0 CheckForceUse 1 mOuputForceuse[Mode] = 0

[Code] .......

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

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

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

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

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

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

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

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

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

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

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

General :: No Push Notifications On Certain WiFi Networks

Sep 6, 2011

The problem I'm experiencing is that I am not receiving push notifications of any kind while my phone is locked/sleeping (screen off) on my wifi network at work.

My home wifi network and mobile connection have no such problems, i get the notifications instantly. My wifi is set to never sleep.

I do get the notifications a couple of seconds after I unlock my phone though. Not very useful because I have to keep checking my phone.

Not sure if this has anything to do with it but my home network is WEP secured and work is WPA/WPA2 secured.

View 4 Replies View Related

General :: Auto Switch Between WiFi Networks?

Apr 21, 2012

basically I have 2 routers with different SSIDs set up in my house.

I was wondering if there is a way I can have it automatically switch to the one with a better connection through an app or script of some sort or a way that I can at least make a shortcut on my launcher to do this?

now that I think about I could toggle wifi off and on but is there a better way?

View 8 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved