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?

Android :: Can Phone Pause WiFi Scan Requests?


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

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

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

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

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

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

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 :: Something That Will Log All HTTP Requests Phone Makes?

Aug 29, 2010

I saw an message "page could not be loaded" in an app that I was using which made me realize that it's UI may be HTTP based somehow. Is there a way that I can find out where it is sending its requests?

View 4 Replies View Related

Android : How To Scan All Files Of Phone

Sep 6, 2010

Is it possible to develop an application which can have a read access to all the files of the phone. We plan to develop an antivirus application. I know that APK applications have for example a limited access to the /data directory.

View 2 Replies View Related

Android : App Go After Barcode Scan / Get Saved To SD - On Phone?

Dec 22, 2009

i seriously just scanned every barcode too! but does it get saved to my SD or does is saved on the phone?

View 1 Replies View Related

Android :: Wallet App That Uses Phone's Camera To Scan Cards For Backup?

Sep 1, 2010

Is anyone aware of a wallet app that uses the phone's camera to scan cards for backup? i don't really relish the idea of manually entering all my card nos. and info when the camera scanner function works so well recognizing business cards.

you know, I'd like to slap my credit card on the table, open the app and scan the card. the app should recognize the cc logo (mc, visa, discover, etc), card no., exp. date and prompt me for the verification no. on the back.

the app should be able to recognize most of the card types that people typically keep in the wallets: drivers license, library card, health ins, auto ins., loyalty cards. for those that it doesn't recognize by scan, the user should be able to select from a list or enter a "custom" type.

i haven't found anything like this. does one exist?

View 1 Replies View Related

Possible To Scan VIN Code Quickly Using Phone Or Tablet

Jan 22, 2013

We created a free app - VIN Barcode Scanner. I would like to know your opinion and your feedback. We are interested in a collaboration. We could offer integration to developers who has an app for search of information by VIN in Autocheck and other bases. Users would love that.

With application it is possible to scan VIN code quickly using your phone or tablet cam and then send a recieved code via sms or email. In case of integration, it is possible to search for information on the resources mentioned above. I think it is very convenient.

We are happy to offer you the following: SDK which will allow you to add VIN codes scanning into your app very easily. Many developers are using our SDK. Our SDK has a demo-mode so you can try it for free.URL....

View 2 Replies View Related

Android :: Pause Music Player During Phone Call

Dec 3, 2009

Everything works fine but when a phone call comes while a song is playing the app does not pause the media player and you can hear the song during the phone call. Please tell me how to pause media player on a phone call and again resume it after call is ended.

View 2 Replies View Related

HTC EVO 4G :: Want To Pull Bar Code Up On Phone For Gate Person To Scan?

Jul 13, 2010

i was wondering, say i was to do a print at home ticket, could i just pull the bar code up on my phone for the gate person to scan? seems like the prefect way to buy last minute cheap tickets on stub hub.

View 4 Replies View Related

Sprint HTC Hero :: Stop / Pause Running App When PHONE CALL Comes In?

Jul 26, 2010

If I'm using like Google Listen's Podcast app, or a music app, is there some option to get those to pause or turn off when a phone call comes in?

View 2 Replies View Related

General :: Pressing Play / Pause Button On Headset Keeps Turning Phone On

Mar 26, 2014

Anyways, whenever i'm listening to music, and I press the play/pause button on my headset to control my music tracks, my phone turns on. This get's really annoying because every time my phone turns on, it stays on for a few seconds, and this really kills battery life. I've tried lurking around my phone's settings and even my launcher settings.

My phone is a rooted HTC Wildfire S running AOKP custom rom with Nova Launcher Prime. And if it makes any difference, I'm using the "Start" lock screen from the Play Store.

View 6 Replies View Related

Sony Ericsson Xperia X10 :: Correct Character To Use Pause In A Stored Phone Number?

Oct 6, 2010

I have phone numbers stored that was transferred from my HTC phone that have a "p" in the dialing sequence to introduce a pause for e.g. a calling card. When this number is used in the X10 it will not recognize the "p" as a pause.
What is the correct character to use?

View 3 Replies View Related

Android :: Simultaneous Http Requests

Jan 13, 2010

Is there a limit on the number of simultaneous http requests of the form:

HttpResponse response = client.execute(request);

I'm interested in any official limit as well as practical ones.

(In a previous life, you had to dig deep to discover that WinMo only allowed three WebRequests to be open at a time.)

Let's say I have a list of 20 files to download on a background thread.

Should I: Download them one at a time, blocking the thread (but not the UI thread) to wait for each one? Start 20 threads each downloading one of the files?

I expect the answer may be somewhere in between, where I create C threads and work on the queue of N files, where C is a number like 3 or 4.

I suspect some of you here have already done some experimentation and know the magic number. In addition, I suspect there may be more efficient ways of doing what I'm doing than creating a new DefaultHttpClient for each request.

View 10 Replies View Related

Android :: Viewing Requests Made By Another App

Sep 16, 2009

Is it possible to view what requests are made to external sites/ servers by an app? Basically I'd kind of like to throw an application (I did not make) into a debugging type thing to see what requests (to where and what data) it makes. This is to kind of ensure a third party app does what it is saying, and isn't sending data elsewhere.

View 2 Replies View Related

Android :: How To Track All Https Requests?

Apr 12, 2010

How to collect URLs of all http/https requests made by the phone as well as well as the return status code and user agent from the headers. This information should be coming for all browser requests and other applications too.Please let me know this information can be retrieved on App level or we have to go to system level for this.

View 5 Replies View Related

Android :: How To Do Async HTTP Requests?

Feb 23, 2010

Im using a web service, so I want to use an async thread for the HTTP authentication request and another thread later to make additional service requests while my main thread runs.Would like to see a good example of how to do this and how to show busy messages somehow in main app. How does the main app know when the thread finished? And what if my thread encounters exceptions, how do I deal with that?HTTP requests are sent later, use the same cookies setup up by the first auth request, so will the later requests pick up the same cookies and just work?

View 2 Replies View Related

Android :: How AJAX Requests Work On 2.0 / 2.2 Emulators?

Jul 22, 2010

I'm testing out a web page on the Android 2.0 and 2.2 emulators, and the jQuery.ajax() requests that the app makes have slightly different behaviors regarding HTTP Authentication Headers. The server I'm making requests to requires basic authentication, and the ajax requests in 2.2 send the proper auth header. In 2.0, I am debugging with Fiddler, and it seems that the requests do not include the auth header, and the server rejects the request with a 401.2 error. I don't think it matters, but the server is running IIS 7. One interesting thing I noticed while debugging the web requests is that Android 2.2 makes two requests for each resource, whether or not it's an XHR. One does not contain the Auth header, and the second one does. In 2.0, it seems to make 2 requests for everything but XHR's:

Here is the 2.2 header for the first XHR:
GET http://192.168.1.111/sonar/mobileweb/sonar/views/week/init.ejs HTTP/1.1
Host: 192.168.1.111
Accept-Encoding: gzip
Referer: http://192.168.1.111/sonar/mobileweb/sonar/sonar.html
Accept-Language: en-US
User-Agent: Mozilla/5.0 (Linux; U; Android 2.2; en-us; sdk Build/FRF91) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1
Accept: text/plain, */*
X-Requested-With: XMLHttpRequest
Accept-Charset: utf-8, iso-8859-1, utf-16, *;q=0.7

The 2.2 header for the second XHR:
GET http://192.168.1.111/sonar/mobileweb/sonar/views/week/init.ejs HTTP/1.1
Host: 192.168.1.111
Accept-Encoding: gzip
Referer: http://192.168.1.111/sonar/mobileweb/sonar/sonar.html
Accept-Language: en-US
User-Agent: Mozilla/5.0 (Linux; U; Android 2.2; en-us; sdk Build/FRF91) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1
Authorization: Basic cGFyaXZlZGFcZGF2aWQubW9ycmlzOjIzbkx2ZWxsbGw=
Accept: text/plain, */*
X-Requested-With: XMLHttpRequest
Accept-Charset: utf-8, iso-8859-1, utf-16, *;q=0.7

And the 2.0 header:
GET http://192.168.1.111/app/views/week/init.ejs HTTP/1.1
Host: 192.168.1.111
Accept-Encoding: gzip
Referer: http://192.168.1.111/app/app.html
Accept-Language: en-US
User-Agent: Mozilla/5.0 (Linux; U; Android 2.0; en-us; sdk Build/ECLAIR) AppleWebKit/530.17 (KHTML, like Gecko) Version/4.0 Mobile Safari/530.17
Accept: text/plain, */*
X-Requested-With: XMLHttpRequest
Accept-Charset: utf-8, iso-8859-1, utf-16, *;q=0.7

Has anyone experienced this behavior before? It is basically causing my app to not work at all in version 2.0. Version 2.1 seems to act the same as 2.0.

View 2 Replies View Related

Android :: Load Https Requests With Webview

Jun 2, 2010

I'm trying to load https requests with a Webkit object but It shows only a blank page, with http requests I don't have problems, It shows the page correctly. I have look the source code of the browser, in http://android.git.kernel.org/?p=platform/packages/apps/Browser.git;a... but I don't understand how the browser process the https requests. I think that the class BrowserActivity process the http and https requests but I don't see how to do it. Somebody could explain how the browser process the https request? It uses a Webview object to show the response of the https requests?

View 5 Replies View Related

Android :: How To Trace HTTP Requests / Responses?

Jul 22, 2009

How to trace the HTTP requests/responses e.g. by using Wireshark? I am using soap web services i want tocheck wheather the soap request from the web service sis going properly.I neee the Xml response from the server but non xml format i am getting how to check this request and response using Wireahark or any other process.

View 2 Replies View Related







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