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
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
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
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
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
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
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
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
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
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
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
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
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
Feb 1, 2010
How does one go about listing the resources that are available in an application?
For example, I would want to find the names of all files under /res/ xml.
Reflection on the R class didn't seem to work since the identifiers are static constants. R.xml.class.getDeclaredFields() doesn't return any fields.
The AssetManager didn't seem to work either because these are not raw assets.
Does anyone have ideas or examples?
View 4 Replies
View Related
Jan 26, 2009
Is there any way to discover which intents a given app supports? An old post indicated that PackageManager.GET_INTENT_FILTERS isn't supported, might there be some other way to do this?
View 18 Replies
View Related
Mar 19, 2009
How do I build the wlan module? When I build, the makefiles copy the vendor/.../wlan.ko to out/.../wlan.ko. What I really want to do is put some new features in the wifi driver for Android. Anybody know?
View 4 Replies
View Related
Jun 1, 2013
so i got an HTC One X and first thing i bout for it was an invisible shield screen protector, so applied the screen protector and after letting it dry i turned my phone on and it seemed to go well but when i go on a white page i can see black streaks and on the bottom there is a big blue strip which i believe is water. The phone however works perfectly fine and i cant see the spots unless im on a white page but it is pretty bad so i was wondering what should i do to get rid of the streaks?
View 2 Replies
View Related
Feb 19, 2010
how I can find the memory used on my Android application, programmatically. I hope there is a way to do it. Plus I would like to understand how to get the free memory of the phone too.
View 3 Replies
View Related
Mar 22, 2010
I am planning on developing my specific voip app for android.when a phone call occurs I want to hear the person who's calling on my local pc speakers and I want to speak to him via my own pc microphone / headset. So I need to send the audio stream of both me and the person I am talking to via the wlan network.
View 2 Replies
View Related
Nov 14, 2009
Anyone else having issues with their GPS putting them in random spots. I open up GMaps and my GPS definitely has me in the wrong spot (off by a good mile or two.
View 1 Replies
View Related
Feb 7, 2010
I am very new to android. The Eclipse and the Emulator is running and I have bought an device already. I want to write a little UPnP- Discover-Application first. I used CyberLinkForJava under Java some years ago. I read on this list (2010/1/29) that this framework can be used under android too. Like mentioned in the post from skonno I downloaded the code via svn from sourceforge and copied the trunk/cyberlink/upnp-stack/src/main/ java section into the source folder of my android project. Then I`d got errors in XercesParse.java and kXML2Parser.java. If I delete this classes it runs without errors. But the code from the cyberlink documentation. Code...
View 4 Replies
View Related
Nov 21, 2010
I have just recently moved from Nokia E75 to HTC Desire, and there are lots of stuff on the E75 that I will never miss... But, there are a couple of things I am missing very much, tho. One thing was a very clever feature that saved a lot of battery... On my HTC Desire I have to leave wlan enabled at all time for the phone to utilize wireless at all, and I can see that it's consuming approx 20% of the battery power - even if no apps or widgets are accessing internet.
But on the Nokia E75 it's very different... The wlan is switched off by default, so whenever an application on the E75 needs a data connection (internet), it will quickly enable wlan and check to see if there are any networks nearby it can access, and then disable it again if it doesn't find any. (If no wlan access point is detected, it will go online using the mobile data connection automatically instead)
View 7 Replies
View Related
Oct 9, 2010
I got my first smart phone on 15 July, a Droid X. Everything was OK till last week when it died. I took the dead phone to VZ and they examined it and said there was moisture damage. Seems like there are some places on the phone that turn red when exposed to moisture. Bottom line was they are replacing the phone, but I had to buy a new battery and sign up for the $US4.95 a month insurance.
I do live in Florida and it can get hot and humid in the summer here. So my question is just how much do you have to baby a phone like the DX?
I thought I was careful with mine. Did not every carry it with me in the swimming pool. Kept in a nice silicon case to protect from bumps, and had another old HP calculator case that I often kept it in for more protection. Never had anything happen like dropping a Coke on the DX.
The lady at VZ was kind of a bozo, she even wanted to over charge me for the battery; but some guy in a suit came out of the back room and said I was a preferred customer and gave me a discount. When I asked about buying a different case that would protect my phone from water (I have seen OEM water proof cases advertised on the internet) she said that was not necessary.
Do other peeps have "moisture" issues with their phones, and if so how do you deal with them? Now that I know where the red spots show up if there is moisture damage I will probably start checking them. But if smart phones are so fragile that I have to baby them so they last more than three months I may have to review my decision to buy one.
View 14 Replies
View Related
Oct 13, 2009
I would like to check from my app whether the device has WiFi connectivity, but in order to do that, I must first find a way to get "WiFi" in the emulator. Just going to Settings -> Wireless controls -> Wifi says Unable to start Wi-Fi, while logcat says:How can I simulate WiFi connectivity in the emulator?
View 1 Replies
View Related
Jul 27, 2010
Is there a solution for getting getScanResults() work on the emulator . All i want is to read the access point that is been set on the phone. If not possible to read the actual values i can hard code the values that are to be returned by getScanResults. Kindly let me if you have the solution .
View 6 Replies
View Related
Nov 6, 2009
I have little spots on my screen. They aren't dead pixels and they can't be cleaned off. It looks like they are like little spots of residue left over from the screen protector that was on the phone when you buy it. But they don't come off. They're only noticeable when the background is white.
Second, the keyboard is wavy. It's like the rows of the keyboard go up and down, almost like the keyboard didn't fit well in the area it's supposed to go. So the spaces between the rows are lifting up a bit and creating a wavy keyboard. This isn't really much of an issue, but just curious if other people see this as well.
View 6 Replies
View Related
Apr 11, 2009
Can anyone tell me weather emulator support WiFi.
View 5 Replies
View Related
Nov 2, 2010
I just realized that my emulator can't access the web. My computer runs on WiFi and perhaps the emulator isn't able to detect it. how to get it working? emulator isn't running on Airplane mode.
View 2 Replies
View Related
Oct 24, 2010
When I turn on my Captivate, it automatically opens AT&T Hot Spots, AT&T Navigator, IM, Email and about a dozen other apps. Is there any way to limit the apps that open automatically so that I don't have to use Task Killer every time to kill unwanted apps?
View 5 Replies
View Related
Jan 31, 2009
I've been trying to create a local connection to a computer with a Socket from the emulator thinking that it would automagically uses a emulated wifi connection. It doesn't work, in particular because wifi is not supported on the emulator:
- Does a Socket connection automatically choose the fastest connection (the wifi one if it exists).
- Why wifi not supported by the emulator? Will it be?
For those in countries still not blessed by the grace of having the possibility to buy a Gphone, that can be useful...
View 2 Replies
View Related