Android :: Strange Delays When Doing Wifi Scans

Aug 19, 2010

I have a simple app that just initiates a wifi scan every two seconds and then logs the results. I am observing some strange behaviour, and was wondering if anyone could shed some light. When I start scanning, if the phone (Nexus One running latest Froyo OTA release) is just sitting on my desk (screen on or off, it doesn't matter), I receive the wifi scan results about 800ms after initiating the scan, fairly consistently. At most, it takes a second and a half to receive the results. However, if I get up and start to walk around the building that I'm in, the time between initiating the scan and receiving the result begins to vary greatly. What is interesting is that I start to see a pattern where it will take about 40 seconds to receive results, then I will get three or four results two seconds apart, then it takes 40 seconds to receive the next set of results, then I get three or four results two seconds apart, etc.

I've tried obtaining a wifilock, both the FULL and SCAN ones, and that doesn't help. Same with a partial wakelock. I've also tried setting up a thread that pings the supplicant every second and reports when it is unreachable, and it appears to always be responsive (ie., I never see the report). I thought that maybe the problem was that I am unable to receive the result of scans when I am switching between base stations (which might happen when I move around), but if I manually switch between two different networks, it does not cause a delay in my scans (ie., I can still get the results with only a one second delay while it's associating with the new network). Anyway, for my application, it would be incredibly useful to get wifi results at a fairly consistent rate, and so I was hoping that someone on this list might have some suggestions as to how I can achieve this.

Android :: Strange delays when doing wifi scans


Sony Ericsson Xperia X10 :: Wifi X10 Scans Network

Sep 3, 2010

I enjoyed my wifi internet with X10 when i first installed my wifi router, and as well as my other devices.However, my X10 is not working at all with my home wifi at all anymore, well.. you can imagine that my all other devices are working perfectly. also, I have tested in my parents, in-laws, at work, Mccas or wherever I could test my wifi on X10 works. but not at home.I am just thinking it's maybe the network setup.. or something.. but how come all other devices are working fine? and all my test places have passed?

View 1 Replies View Related

Motorola Droid :: Connecting Wifi - Scans And Then Fails

Jan 20, 2010

Anyone else's droid just not do anything after selecting "connect" in the wireless settings screen? mine just scans and scans and then fails.

View 5 Replies View Related

Android :: Barcode Scanner That Scans Pictures?

Oct 8, 2010

Does anyone know of a barcode scanner app that will allow you to scan a picture of a barcode that is in your phone or SD card's memory, or allows you to scan a barcode in a browser? I feel like this is functionality that ought to exist, but I haven't been able to find one yet.

View 6 Replies View Related

Android :: App That Scans Barcode Off A CD / Sample Album?

Jan 3, 2010

Seems like a great idea for an app. You're at a store like Walmart, and you see a CD that catches your eye. You scan the barcode, and can now click on each track to sample each song right from your Android phone. Lets you know whether or not you want to buy it. Some stores already have something similar, but not all stores have it and not all stores have it for all CD's. I'd like to do it from my own phone anyway, than to put on the greasy lice infested headphones at the store anyway.

Yes, I know I can just buy the songs on itunes or Amazon, but sometimes I like to have the actual CD, and the mood strikes me to buy a physical disk now. Does this exist?

View 8 Replies View Related

Android : Add Mp3 To ContentResolver / Force Thread That Scans Sd For Music?

Sep 17, 2010

I know that after downloading an mp3 from your app you need to add it to the ContentResolver to see it on the music player. I am doing it with the following code...

My issue is that I am willing to avoid setting DISPLAY_NAME, ARTIST, ALBUM, TITLE by hand.

Is there a way to tell Android to do it from the file? I've already used just values.put(Media.DATA, pathToFile); but it's not adding it to the player.

Is there a way to force the thread that scans the sd for music?

View 1 Replies View Related

General :: Scanner App That Scans Like A Panorama?

Mar 26, 2013

find a Scanner app that will let me scan a page by literally *scanning* it with my camera, slowly sweeping the page. Similar to how you can take panoramic photos, and it stitches the images together behind the scenes. I want to use OCR to scan a page into text, but the I find the quality usually isn't good enough for accurate OCR.

View 4 Replies View Related

Android :: Handcent Launch / Exit Delays?

Dec 27, 2009

I've been getting delays when launching and exiting Handcent...not 100% of the time, but much of the time it takes forever (like >6 seconds) to launch or for my home screen to appear after exiting.

View 7 Replies View Related

Android : Live Stream Latency - Delays In VLC

Apr 13, 2010

We are developing an Android video conferencing application. After examining some already existing live-stream applications , we came to the conclusion that all or almost all existing applications have a delay of 3 to 10 seconds. The application we are developing was tested receiving a video stream on the Android device and the same video stream on VLC at the same time.The result of the test is that VLC shows the same part of the video 2 to 10 seconds earlier than our Android application on the phone(HTC hero) depending on the rtsp link used. we haven't found what is the main cause of the delay and also dont know if it is possible to reduce that delay. In our case, as it comes to video conferencing, the delay should be lower than 2 seconds at least. Do you guys have some information about the cause of the delay or even how to reduce it?

View 5 Replies View Related

Android :: Avoid Garbage Collection Delays In Java Games?

Mar 20, 2010

I'm performance tuning interactive games in Java for the Android platform. Once in a while there is a hiccup in drawing and interaction for garbage collection. Usually it's less than one tenth of a second, but sometimes it can be as large as 200ms on very slow devices. I am using the ddms profiler (part of the Android SDK) to search out where my memory allocations come from and excise them from my inner drawing and logic loops. The worst offender had been short loops done like,

for(GameObject gob : interactiveObjects)
gob.onDraw(canvas);........................

View 3 Replies View Related

Android :: Trap In TabHost When AsyncTask Delays Set Content View At Activity Startup

Nov 3, 2009

I've got a tab host activity started from a home screen shortcut. When my application starts it downloads information from a server using an AsyncTask. In the onPostExecute method of the AsyncTask I call setContentView to display the TabHost.When I start the homescreen shortcut by tapping on the shortcut using my finger everything works as expected, I download the information from the server and display the TabHost with the information in the tabs. However starting the application by navigating to the shortcut with the mouse wheel and then clicking on the shortcut with the mouse wheel leads to a trap in the framework code as soon as my application starts. This looks like a simple fix since mCurrentView is null at the time that this method is called - can this issue be addressed? Does anyone know of any workarounds?

View 5 Replies View Related

HTC Incredible :: Email Delays Despite Immediate Sounds

May 5, 2010

I have an odd issue. When I get an email, it sounds immediately. But when I go to read the email, it's not on my phone yet. It makes the sound, but does not show any message indication. About a minute or two later, the message shows up.

View 3 Replies View Related

HTC Droid Eris :: ChompSMS Notification Delays

May 26, 2010

I've noticed this start to happen more and more frequently. I will get a text, say at 7:30, and not get a notification until I check the app, or my phone will vibrate and say I got the text anywhere from 5 to 15 minutes after it actually got to my phone (observed). This doesn't happen all the time, mind you. Anyone else notice this? It's annoying because I'll get a text and I won't KNOW I got it until a while after. It also seems to only happen if I haven't gotten a text in a certain period of time. Like, the longer I go without receiving a text, the longer it will take for Chomp to give me my notification. Again this doesn't happen all the time but it does happen and I'm not sure if I've just been noticing it more or what is happening.

I did a factory reset when I got the 2.1 OTA so I guess it's not something that could fix, unlike the saving attachments issue I had before the reset. The only thing I can think of is the length of a thread I have on here, it has about 600 messages in it. But I've had threads with 1000+ messages and haven't had a problem before.

View 2 Replies View Related

Sprint HTC Hero :: On Screen Text Delays

Aug 6, 2010

Ive had my hero for about two months now, and so far its good. I switched from blackberry and had a major adjustment to the on screen keyboard. The thing that is pretty annoying is the delay when typing, i was told i may just need to slow down, but sometime you just need to shoot a quick message. i have changed the callibration a few times and nothing seems to help.

View 6 Replies View Related

Sprint HTC Hero :: Gmail And Text Sending Delays

Oct 24, 2009

I think I'm experiencing my first real problem with my Hero. I've noticed that my wife (and who knows who else) hasn't been getting my txts when I send them... Sometimes it takes a full day for her to get them. Email has been delayed the past couple days, too. Items will sit in the outbox for hours and when I pull them up, there's red text saying it's sending..." This happens whether I'm connected to WiFi or just using the mobile radio. 2 bars or 5 bars, it doesn't seem to matter.

View 11 Replies View Related

HTC Droid Eris :: Delays On Retrieving / Accepting Text / Call

Jan 13, 2010

I tried searching the forum for this problem but it seems I can't find it (there might be one out there ) Anyway, so I have a Droid Eris. The problem is that when my phone is in SLEEP mode, it takes about 10-30 seconds for my phone to AWAKEN when receiving a text message and around 10 rings (from the caller) for my phone to AWAKEN start ringing. But when my phone AWAKE, I receive texts/calls right away. I have two phones so I constantly test it out and results are the same. Do you think some of my apps are delaying it? My default SMS app is Handcent and configured properly. Do you think Automatic Task Killer is the culprit (this kills all apps when in SLEEP mode)? But even if I exclude MESSAGES, VOICE DIALER and HANDCENT, I still get the delays.

View 3 Replies View Related

Sprint HTC Hero : Turn Off Screen When In A Call / Get Delays On Messages

Dec 2, 2009

I've searched on here and can't find the threads. How do you turn off the screen when in a call? I'm tired of hanging up or pushing buttons while talking. And is there a better lock screen out there? I've looked on the market place, but haven't really found any. I want to have the choice of unlocking my phone when it rings before I can answer.

Also,I get delays on my messages where I can see there is a blinking light, but the sound won't notify me of a text until I wake up the phone. Anyone else getting hits? I use Handcent.

View 9 Replies View Related

Samsung Vibrant :: Separate Delays For Screen Off And Phone Lock Features?

Jul 22, 2010

Is there a way to have separate delays for the screen off and phone lock features? I like having the screen turn off quickly (since I believe power on/off for OLED is negligible) but it is annoying to have to constantly unlock the phone if I don't hit the power button within a second or so of the screen turning off.

View 2 Replies View Related

HTC EVO 4G :: Little Delays Occasionally When Tried To Make A Phone Call - Keyboard Unresponsive When Tried To Text

Nov 6, 2010

I'm rooted but s is still on and nand is not unlocked. I'm running the stock rom.

I use to get little delays occasionally when I tried to make a phone call, and sometimes the keyboard was unresponsive when I tried to text. Always passed in a few minutes.

Now the thing is just lagging. delays all the time regardless of what I'm doing. I also get a message sometimes when I try to take pics saying I don't have file permissions for the sd card. A shutdown will usually resolve this.

Sometimes when I shutdown I can't restart it without popping the battery out for a few seconds.

I thought it might be related to an overclock widget I was trying so I deleted it without improvement.

View 4 Replies View Related

Android :: How To Design "manual Animation" Into Droid Game Without Code Delays?

Oct 3, 2010

I am writing a game for Android and I think I have a fatal flaw in my architecture and/or code. The architecture is basically two threads, one that just continuously draws the screen and the other than controls the movement of the drawables on the screen based on the user's touch screen input. In the latter thread, I'm basically doing manual animation (insert correct term here), meaning I move the drawables on the screen via methods that change the Drawables Rect as the game progresses. The "no-no" I believe I'm doing is inserting delays into these methods, so that it "appears like an actual animation." This all works fine and dandy because I have no reason to process any user input during these animations, but it's really bugging me that I'm designing a flaw into a lot of hard work with my game. I'm sure many of you can relate to this in terms of code design.

View 3 Replies View Related

Android :: IOException - Strange Error

Jul 29, 2009

I'm trying to write a basic application with http get request. Eclipse validated my code, but when I using IOException in Android console I have this strange messages:

CODE:...............

And my application doesn't load into the emulator.

This is my code:

CODE:..................

View 3 Replies View Related

Android :: Strange Error With AdMob

Jan 21, 2010

I have already posted on their developer group but based on everything I've seen I don't expect a reply. I have a strange problem. When I added and adview to my app it imported a bunch of comments that all start with /** Eclipse is acting like it is not a comment. Although it isn't erroring out it has now marked anything starting with R.id as not existing. Is this something I can remedy in eclipse or is it time to chuck my dreams of being mega rich off of all the admob revenue I will be receiving? Writing code is one of few things that teaches me I don't know everything. Join the Closed Beta of Call Girl Manager http://www.fuligin.com/forums

View 5 Replies View Related

Android :: XML Parsing Strange Error

Jun 28, 2010

I am trying to parse XML with a simple sax parser. Interestingly i am able to see desired output in the emulator. but when i run the program on a device program shows no output. I tried many different way for example putting the XML file in a raw folder but every time no out put on device. Tried this on two different handset and everywhere get the same error.

View 2 Replies View Related

Android :: Strange Looking Rounded Rectangles?

Nov 2, 2010

I'm using the following to draw rounded-corner rectangles in my Android application and it seems to be working alright but with one minor problem:

CODE:.......

(Adding labels to the rectF's defined above follows) ...

The strange thing is that the two ends of the rectangle aren't rounded over the same. The left-size quarter circles are noticeably smaller than the ones on the right.

Anybody experienced anything similar? It's weird enough that I might change my mind about the round corners if I can't do anything about it.... And if I knew how to do a screen capture from my Android, I would.

The rectangles in question are 78 pixels wide and 48 tall, if that helps (and since ykatchou may be onto something).

View 1 Replies View Related

Android :: GestureOverlayView Causes Strange TableRow Blending

Jul 2, 2010

With the XML layout shown below, I have some views wrapped in a GestureOverlayView. As shown below, my first row is blended with the second row, as-if the first row is transposed right on top of the second. Now when I take the GestureOverlayView out of the code and leave everything else as-is, my table looks fine - the rows are separate and not on top of each other..........

View 1 Replies View Related

Android :: Keep Getting A Text Message From Strange Sender

Nov 14, 2010

Bit of an odd one this...Every now and again I get a blank text. The sender is stated as ...

View 1 Replies View Related

Android :: Strange Instance Of App Not Responding Error

Aug 31, 2010

A customer just notified me that she's experiencing the infamous "app not responding / wait, force close" message during a specific operation. By just waiting enough, the app resumes ok. Now, that specific operation is indeed long and in fact it has been programmed in a background thread, with a progress dialog signaling the wait. I can't reproduce the problem on my development phone - I suppose because it's perhaps faster than the phone of the user. But I can't reproduce the problem either with the emulator, which I suppose is slow enough. Generally speaking, I think I could be able to solve this specific problem with the customer giving me the proper feedback. It's the general issue that hassles me. This part of the application is very good covered by tests at different levels, including automated black-box tests with Robotium that drive the UI as the user would do, and even in "stress mode" (repeating the test multiple times). So I supposed to be very safe in that area and I'm disappointed to discover that it was a false sense of safety. What am I possibly missing? Also, is it possible / does make sense to "slow down" a phone during tests? I was thinking of a service running in background just consuming some CPU cycles to make the phone less responsive. Fabrizio Giudici - Java Architect, Project Manager Tidalwave s.a.s. - "We make Java work. Everywhere." a.net/blog/fabriziogiudici - www.tidalwave.it/people Fabrizio.Giud...@tidalwave.it -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

View 3 Replies View Related

Android :: Strange JAVA Syntax - Specifics?

Apr 1, 2009

I am a C programmer before, and I am looking into android source code right now, some JAVA syntax is confusing, I am not sure whether or not it's android related, see:

CODE:..........

1) What's the meaning of Override? Is it ommitable?

2) What does the "synchronized" mean?

View 5 Replies View Related

Android :: SensorManager Strange Behaviour Of GetOrientation

Jul 7, 2010

I need to retrieve the orientation of my phone. At the moment i wrote this :

CODE:................

This code allows me to get the orientation of the phone if i leave the phone on a flat surface and i rotate it over the surface.

What i did not understand is why if i move the phone upwards the value of this.actual_orientation[0] ,which is the rotation on the zed axis as described [here][1], the value increases although there was no rotation.

Did someone know what happens?

Another strange thing..

I tried my application in the office at work and it had the strange behaviour i described before..
I tried in the same office(same situation) a compass app that i took from the market and it has the same behaviour of mine..when i moved the phone upwards the value changed consistently..
I tried in the same office(same situation) the i-phone compass and it didn't have that strange behaviour!

Then when i arrived at home i tried both, my application and the compass app of my android phone, and they worked!even if i move upwards the phone the value are stable...

View 1 Replies View Related

Motorola Droid X :: Phone Delays On Call Time / After Call Has Ended

Oct 14, 2010

I don't remember my DroidX always doing this, but recently after I hang-up from a call it shows the "Call Time XX:XX" in the center of the screen and I can't do anything until it goes away, which is generally 5-8 seconds. Hitting Home, Back, etc does nothing and tapping on the screen or the message also does nothing.Is this a setting I can disable? I can look at the recent calls to get the length of call if I need to see it, so I don't need the dramatic pause to give me this info.

View 2 Replies View Related







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