LocationServices on iPhone..when do you know your location is "good enough"

Hi. I've been having some weird issues with location services and maybe I'm just not understanding it completely. I need to grab the user's location with the best accuracy possible so I gather updates for about 10 seconds and take the update with the latest timestamp. However, this doesn't seem to work out so well when a user (yes this scenario just happened) is on the West Coast and turns off his phone to board the plane. Then he arrives in the east coast and opens up my application. It tries to get his current location, but it doesn't say it's on the east coast. The location still shows a west coast point. How do you guys pinpoint the user's location as best as possible? I've noticed the google maps app seems to zero in on the user's location little by little, but I'm not sure how they are doing this or if this is just some heuristic. I just don't know how long to gather location updates before I know for sure that I can get their current location.
Any help would be great.
Thanks!

Somewhere in the docs or examples it suggested you discard any locations with timestamps that are 'too old'. I guess probably 20 minutes or more would mean stale location...

Similar Messages

  • Find my iphone app- Can you spoof your location?

    Is there an app that allows you to keep find your iphone running but allow you to spoof the phone location?

    No.
    What if some relative or government organization needs to know your exact location.
    To have your location unknown you must turn off your iPhone completely. Also do not drive a car with a tracking system (like OnStar) which cannot be turned off.

  • You know your boss is good when...

    Had a boss/employer back in 2007 that was a pleasure to work with and for.  Although, to be honest, for the first six months, he was very matter-of-fact, stand-offish and quiet.  What I didn't realize at the time was that that's how he 'sized' people up before really interacting with them.  But after that, we routinely had lunch meetings that he'd pay for, outdoor 'smoke-break' chat sessions while he enjoyed a cigar, and the occasional 'just because' gift in thanks for the job getting done.  He was also fond of sending home little trinkets and things that he'd pick up in his travels abroad.  He was the CEO of the company... but it wasn't long before I counted him as a friend.

    You are helping to set up something in permissions/on the domain/in AD and he says, "Just one thing I noticed you did wrong, but now realize that you’ve done it a better way," and to change the documentation and update the other stuff to the new way. 
    This happened to me, and it was a total fluke, and I did actually "mess up" compared to the original way. However, he saw the mistake and thought about whether or not it could be better. I really respect him for not thinking that the old way is the best way, and taking the time to think about it.
    Any stories that you have about understanding, thoughtful, progressive, or otherwise "good" bosses?
    This topic first appeared in the Spiceworks Community

  • How do you know your iphone needs a new battery ?

    hey I have an iphone 4 and it just suddenly turned off and just won't turn back on tryed maybe plugging in my charger and still no sign of nothing just  dead does this mean its my battery that needs to be replaced?

    how do you know your iphone needs a new battery ?
    Apple has diagnosed it and told you the battery needs to be replaced.
    does this mean its my battery that needs to be replaced?
    Possibly.
    Take it to an Apple store and have them check it out.

  • TS3376 If you had not registered your device on the find my IPhone app, but you know the serial number of that device, could you still be able to track your device

    If you had not registered your device on the find my IPhone app, but you know the serial number of that device, could you still be able to track your device

    No, you can only potentially track it if you have Find My iPhone enabled on it, you can't do it via the serial number.
    If this isn't hypothetical, then if your iPad has been stolen then you should report it to the police. You should also change your iTunes account password, your email account passwords, and any passwords that you'd stored on websites/emails/notes etc. and contact your carrier.

  • You know your using a toy router when....

    You know your using a toy router when it warns you not to click the "advanced settings" because its complex!
    A sign might as well be waved in front of you saying:
    YOUR A MORON DONT CLICK ADVANCED
    The irony of this is though, there are no settings of real use in the advanced section anyway and clicking it is in fact pointless. A sign might as well be waved in front of you saying.
    CLICK HERE FOR POINTLESS ADVANCED BUTTON

    Latest bugbear of the HH2;
    You know you're using a toy router when you can't even define static routes!
    OK so a lot of people won't need/understand it but couldn't it have been left in? I've now got two choices, I either use the HH2 crack (does it still work) so I can gain telnet access and add the route there, or change router.
    Neither of which I particularly want to have to do just to get my VPN working the way I want it to.
    http://www.bentasker.co.uk
    One Server to rule them all,
    One Ping to Find Them,
    One LAN to bring them all,
    And in the darkness BIND them.
    The Tolkien Ring Network

  • How do you know your wireless is secure?

    I want to know how you know your internet is secure so no one in your neighbor hood can steal or hack my internet service. A few people in our house use a mix between ethernet cable and wireless. I don't use the wireless so i don't know how you set it up on the computer but when you use wireless for the first time to you have to enter a user name and password to access? I just want to make sure its secure. Thank you

    Prevent someone from hacking your network.. simple, dont use wireless at all and turn the wireless on the router off. Thats the only option to prevent hacking. All other security settings like WEP, WPA, WPA2 will only slow a hacker down. They will not stop them.
    Now if you want wireless, then your only option is to use encryption. Again this will only slow hackers down. But the chances you have a hacker next door is rather remote. Now by default the Verizon router uses WEP security. This is just the basics. Keeps honest people honest. Now if you want to increase your security, you can change the router security to WPA2. Dont worry about WPA as this is basically the same as WEP in terms of security effectiveness. WPA2 is more secure than the other two. This will keep you safe from the novices. Then as long as you dont have an advanced computer user nearby you should be fairly safe.
    ====================================================================================
    Error exists between keyboard and chair.

  • I bought 2nd hand iPhone and was linked with previous owner. I want to contact him but i didn't get any address of him. How can iget his/her email address using that iphone IMEI or you know any idea... Please reply if you know solution .....

    I bought 2nd hand iPhone and was linked with previous owner. I want to contact him but i didn't get any address of him. How can iget his/her email address using that iphone IMEI or you know any idea... Please reply if you know solution .....

    There is no solution here and you should already have known this as you replied to a thread all about this a few up from your own post and this stated the postition quite clearly and the question was answered.
    Why do you ask the same question again?  The first answer is not going to change just because you don't like it!!

  • If you know your apple ipod touch passcode and it lockes you out and you try your passcode again how do you get in?

    If you know your apple ipod touch passcode and it lockes you out and you try your passcode again  how do you get in?

    iPhone, iPad, iPod touch: Wrong passcode results in red disabled screen
    iOS: Understanding passcodes
    iTunes: Backing up, updating, and restoring your iPhone, iPad, or iPod touch software
    You will have to restore the device.

  • HT201303 What about if you know your password, but forget the answers to my security questions?

    What do you do when you know your apple ID and password, but forget your security question answers? It won't let me purchase any music without answering them.

    If you have a rescue email address set up on your account then you can try going to https://appleid.apple.com/ and click 'Manage your Apple ID' on the right-hand side of that page and log into your account. Then click on 'Password and Security' on the left-hand side of that page and on the right-hand side you might see an option to send security question reset info to your rescue email address.
    If you don't have a rescue email address set up then go to Express Lane  and select 'iTunes' from the list of 'products' in the middle of the screen.
    Then select 'iTunes Store', and on the next screen select 'Account Management'
    Next choose 'iTunes Store Account Questions' and fill in that you'd like your security questions/answers reset.
    You should get an email reply within about 24 hours (and check your Spam folder as well as your Inbox)

  • If you know your password to iTunes but forgot your sercurity questions how would you change them?

    If you know your password to iTunes but don't know your sercurity question answers how do you change them?

    Welcome to the Apple Community.
        1.    Start here (change country if necessary) and navigate to 'Password and Security', reset your security questions using the link provided, you will receive an email to your rescue address, use the link in the email and reset your security questions.
        2.    If that doesn't help, you don't receive a reset email or you don't have a rescue address, you should contact AppleCare who will initially try to assist you with a reset email or if unsuccessful will pass you to the security team to reset your security questions for you.
        3.    If you are in a region that doesn't have international telephone support try contacting Apple through iTunes Store Support.

  • Do You Know Your iPod Battery May Fall Under Warranty Replacement?

    I have the extended warranty on my iPod Touch. My batter life was horrible... without wifi just playing music getting just over 3 hours. I also had a bad MBP battery. Called up AppleCare and got case numbers for both after diagnosis. Was taking a long drive to an Apple Store with Genus appt the next day...
    My name was called and my Genus re-ran the MBP battery check finding it at fault and went to replace it... I said that I was having an issue with the Touch battery as well. He said "You know that the battery is NOT covered under warranty!". I said NO, if a battery is faulty that it is covered under warranty. I told him that it was THE reason that I purchased the warranty... He argued with me about it and I just couldnt believe my ears... I said that all he had to do was go to the Apple site and find the Touch battery warranty description... He started printing out the MBP battery replacement agreement and we had another video test to run on the MBP... he went in the back to get a DVD.
    As I sat there I started hearing all the genus say to every customer with a iPod battery issue say that battery replacement cost blah blah blah... no one was asked if they had a warranty or that if the battery was found to be faulty the battery replacement would be covered. One guy came in with his son saying the iPod was a Christmas present and the battery was only getting blah blah hours... Again, he was told that a battery replacement would cost $$$. It was surely under warranty but he was still charged! ***?
    My Genus comes back and runs the video test with a Howdy Doody DVD, UGH... anyways... he goes back to return the DVD and comes back with something in his hand, unwraps a Touch and tosses it my way. I asked him what was up? He says that the original Touch battery is not replaceable so here was a new one. I said OK... thinking, why was he giving me one after arguing with me about the battery NOT being under warranty???
    So, I guess it pays off to know your warranty with Apple products as the Genus wont offer the facts. Maybe this was just at the Cleveland OH Apple Store. So, wondering if you know that your iPod battery may fall under warranty and if this is a national fraud by Genus?
    http://store.apple.com/us/product/MB591LL/A#overview "3. Service coverage is available for battery depletion of 50 percent or more from original specification."

    According to this page -> http://support.apple.com/kb/index?page=servicefaq&geo=United_States&product=ipod
    Will the data on my iPod be preserved?
    No. You will receive a replacement iPod that will not contain any of your data, songs, etc. Before you submit your iPod for service, it is your responsibility to keep a separate backup copy of the data stored on your iPod and reinstall that data. Please do not send any accessories with your iPod as they will not be returned.
    Attention iPod touch customers: Before obtaining service, it is important to back up your data using iCloud or iTunes. Apple is not responsible for the loss of information while servicing your iPod touch and does not offer any data transfer service.
    Following service your replacement iPod touch may have a newer operating system (iOS) version and you will need to restore your data using the method used to back it up (iCloud or iTunes). As a result, you may also need to update your App Store applications to ensure compatibility with the newer iOS. If you experience a problem with an application purchased from the App Store, check iTunes to see if an update is available or contact the application vendor directly.
    B-rock

  • Adobe, when can you get your act together?

    I just installed Master Collection CS6 on a new machine and updated it to the latest versions.
    But, the installer is still so utterly stupid and I have been complaining about that for years, filed numerous feature requests, but nothing happens. It is still the same  approach as three years ago and nothing has improved.
    What do I mean:
    Every program in the Suite installs up to 40+ languages in the AMT directory, it repeats that in the Legal directory, then again repeats that in the OBLRes directory , sometimes even in the LMResources and RegLoc directory.
    On a typical install this eats up more than 3 GB of space, just in order to show me the EULA in Afghan, Rumenian, Finnish, Arabic, Mandarin, Bulgarian, Taiwanese and what have you. Not only that, these files are replicated a multitude of times, slow down the download and installation and require quite some effort to get rid of that crap.
    Adobe, why can't you make a simple installer like Microsoft that installs in either the selected language or the location that is set for the computer.?
    There is no use for me to see your legal rights in one of the many (for me) unintelligible languages. Make it simple and save people time and around 3-4 GB space. Additionally, store all that crap in a central place like Adobe/Common, instead of replicating this all over the place for each and every application in the Suite.
    Since you have never done anything with my earlier feature requests, this may be the better way to get your attention.
    Sorry to sound so p*ssed off, but having to go through each and every program to clean up your mess, does not make me happy.

    Thank you for your feedback Harm.  I will certainly be happy to pass on your feedback.  So that I can also verify this behavior can you confirm which operating system you are installing on?  By the reference to Adobe/Common it would appear you are using a Windows operating system?

  • You know your turning into a geek when........

    .......... you get to CompUSA and start to drool over a PSU. HAHA Thats what I did tonight. Went in looking around for some new goodies, when I happen to look up on a shelf with a few over so-so power supplys, and saw they had an "Ultra X-connect 500w" PSU. Then my little beedy (sp) eyes started to glaze over, palms started to sweat, heart started racing. I looked around to make make sure there wasn't another geek or two gonna come up and grab one of these little gems out of my little sweaty hand. Anyway, you get the idea.
    Man, I really must say, these are some killer PSU's. I just got my system back up after installing it, and it must be my imagnation or something, but my whole system is freak'n acting a hell'va lot snappier. I checked the voltages and its  holding just over the numbers on all rails, steady as a rock. Sweet look'n little unit too. With a mirrored chrome finish, UV reactive cables, and was one of the best packed boxes I've seen a PSU come in. Ok, I like it, ok? hehe. Gonna run some tests and see if I can get a few more Mhz now.
    Ok, dam it! I'm a believer now..... as well as a geek, it looks like.  
    Edited: For typos, never try and write when your dog tired, and haven't had any sleep in twenty some hours, lol.

    pinochio, Well, my wife knows how I am about computers and gaming. "Obsessive"
    Paul Foster, Cool man, Thanks  
    devil28, Before I used a Antec truepower 430, and a smartpower 450. Both of which have served me well, but still didn't quite cut it when it comes to powering this system. Imagination or not, I can run a a higher O/C and with tighter timings than I could before, I'm running the 4 dimms in my sig at DDR 400 O/C'd with tight as tight a timings as I could with just two dimms at the same freq. on either of those two PSU's I mentioned. Also, the Sata connectors now come packaged in the newer shipments. Although CompUSA last night had the older ones, but thats not a problem to me.... My HD has both type of connectors. Also, Ultra is shipping out the Sata connectors free to those that buy without them packaged in. The only slight issue I had with the cables is the length. In my case, it was kinda a tight fit, but still worked out wonderfully. Next week I'm gonna get one of the huge a$$ CoolerMaster server cases that CompUSA has... and I mean HUGE.... Awesome case... just can't recall the model atm. I'll look it up.
    http://www.coolermaster.com/index.php?LT=english&Language_s=2&url_place=product&p_serial=STC-T01&other_title=STC-T01CM%20Stacker
    Edit: CoolerMaster CM Stacker

  • When do you know you have a problem with your phone and dropped calls?

    My iphone 4 hasn't really been a problem but I've noticed and all the people who call me notice that my phone is dropping a lot of calls. It's almost dropping every other call, and that is awful should I go back to the store and take it back? I don't want to waste anyone's time or should I be angry. I try not to get ****** over a phone but my 3GS never did this.
    Marc

    You have 30 days to decide. Albuquerque has good to moderate 3G coverage. It is possible that ATT has again been overloaded with a mass of new phones and may need to make adjustments to their service. I am lucky to live in S Florida where coverage is great. However, if your coverage was marginal to begin with you may have trouble. I would let it sort itself out by July 24 the 30 day mark for most and decide than. The only thing to be mad about is not being able to have the phone you want at this time. In spite of what appears to be a large vocal group on this forum, who are really have problems, most of the 1.7 million phones are not. Again see what plays out in your 30day trial and make your decision accordingly.

Maybe you are looking for