Using Core Location to Get Directions

Hi,
I've been learning iPhone development for the last few weeks and now I started an app where i'd like to do the following:
- User browses through table to get to detail view, where it will show address in detail view and button to get directions to address based on GPS (core location).
I know I use core location to get user's coordinates.. however all the examples I've seen seem to use only one hard coded address to get directions. What I want to do is import the address from a SQLite db so I can have it get directions based on the selected table cell. So in other words, the items in the table contain different addresses so I want to know how to write it so it will just pull the address based on the value in the database rather than just having one hard coded address.
I can do this using a SQLite database right? Any suggestions on the approach?
Thanks!

I would like to know if the maps app has this ability as well. For right now my only solution is to use an alternative map such as google maps and do it that way. The maps has a long way to go and many more features need to be added.  I would also like to know how to modify the route (on google maps you have the ability to drag the route where you want it after you see the suggested routes)

Similar Messages

  • Ports/ addresses used for Core Location?

    Hi,
    If we have an app that is using core location, what ports, addresses etc need to be kept open on the corporate firewall to allow it to function. Would tcp port 5223 be enough or is there more ports that need to be open.
    Thanks,
    Wally

    Here is an app that uses it:
    http://centrix.ca/NetworkLocation/

  • Should I use Core Data?

    I'm starting a new document-based application. Is Core Data the way of the future, or just a convenience for specific types of apps? That is, in the "old days" you would override -[NSDocument dataOfType:] and readFromData: to archive your objects. It seems appealing to use Core Data and get automatic archiving in XML, SQL, and binary all for free, but the tutorials I've gone through all seem directed at a very different kind of app than mine. (Rather database-like, but I suppose the demo has to look like something.) The old "Sketch" example, which uses old-style archiving, hasn't been updated in years. Which direction to go?

    Look up HyperCard in Wikipedia for a good explanation. In short, I'm developing a GUI-based mini-app environment, where users can create buttons & fields, and hook them up with an elementary scripting language. I've written the compiler & interpreter, am starting the surrounding framework.
    "Have you looked at the Apple HIGs lately?" Dude, I was reading "Inside Macintosh" back in 1984.
    Mobile platform? Since I'm using garbage collection, I'm shut out of iPhone/iPad, at least for the time being.

  • Google maps is not showing roads and routes when I try to get directions

    When using google maps to get directions the roads disappear and routes do not show.

    But are you shutting down Firefox properly...
    :see my answer in https://support.mozilla.com/en-US/questions/860929

  • IPad MAPs: used to be able to enter 2 locations and instantly get directions. Came home from Europe and it no longer calculates directions. Did I need to changes something in settings?.

    iPad MAPs: used to be able to enter 2 locations and instantly get directions. Came home from Europe and it no longer calculates directions. Did I need to changes something in settings?.

    Since it has always been very basic to backup your computer and all it's data, Apple provides no way for you to transfer music from your iPhone back to your computer.  As you know, you can re-download all iTunes purchases, but music that you ripped yourself you'll have to just re-rip again.
    You can try and find 3rd party applications that might help you.  I'm sure you'll pay, however.
    Let this be a very important lesson learned.
    Best.

  • Location Services Getting Used A Lot

    I recently went into my Location Services setting and noticed the "System Services". It looks like these are the items that use Location Services other than the apps that a user downloads. I turned on the option that allows me to see when the System Services are using Location Services and now I notice that theyre using my location a lot.
    I saw the location icon on one time while texting and noticed that it wasn't turning off. I went in to check what was using it and it turned out to be Traffic and Frequent Locations.
    Is this normal? Are Location Services actually being used a lot? I'm guessing this is why there's an option whether or not you want to see when the System Services are using your location.
    The main reason I'm wondering is because I want to save my battery as much as possible...

    Yes; just use the maps app (or google maps). Drop a pin at the starting point, then later you can request directions to that pin. Be sure to switch to walking directions.
    But you should also have a backup plan, as you would with any activity in a risky environment.  Like taking sightings on recognizable landmarks or using other survival techniques that you have probably taken classes in. You need to be prepared for a dead battery, dropping the phone, getting it wet, etc.

  • I lost my iphone and I use the locate iphone function to wipe to protect my information, but I cannot get the location to restore my iphone, can I request a permanent lock to prevent the thief from using it?

    I lost my iphone and I use the locate iphone function to wipe to protect my information, but I cannot get the location to restore my iphone, can I request a permanent lock to prevent the thief from using it?, I call your call centre, your staff said they can do nothing, I am great disappointed as your advertisment said that we can protect our phone from lost, however, I think my phone has now been resale and reuse by others, but Apple cannot do anything with your so call "Find my iphone" function, I have brought 4 iphone and iPad for my family use, I will never use your product again and recommend to my company or friends anymore!
    Philip Sin

    You are not addressing Apple here at all.
    Apple can do nothing.  Sorry.
    Like any other make of any other phone, they cannot permanently disable it.
    The thief is responsible.  Not Apple.  You seem to be directing your anger at the wrong people.
    No phone manufacturer will do this.
    "I am great disappointed as your advertisment said that we can protect our phone from lost, "
    It mentions "loss"  NOT theft.  you cannot find a mention of theft protection.  Find my iphone is NOT theft protection and has never been advertised as such.

  • I am getting a 404 error when trying to access any search link using google, I can get to a website if I enter the url directly.  I have cleared my history, emptied the cache and reset safari.

    I keep getting a 404 error when trying to access any search link using google, I can get to a website by directly using the URL.  I have cleared history, empited the cache and reset safari.  Any suggestions.

    Right. If you are using delegated privs and sudo, make sure that sudo is configured to pass on the PERL5LIB and ORACLE_HOME environment variables at least.

  • Problem Using FM HR_STRUCTURE_GET  to get manger's direct reportess.

    Hi Experts ,
    My requirement is to identify a Manager's Direct reportess.
    These Reportees may or may not belong to the Same Org Unit as the manager.They can be in the Sub- Org Unit of the manager's Org Unit i.e Manager's reportees who themselves are manger's of Sub Org Unit.
    First I am identifying the Manager's Org Unit from his PERNR using FM HR_STRUCTURE_GET given as :
    CALL FUNCTION 'HR_STRUCTURE_GET'
        EXPORTING
          root_plvar       = '01'
          root_otype       = 'P'
          root_objid       = p_mnger
          begda            = p_date
          endda            = '20091231'
          pathid           = 'P-S-O'
        IMPORTING
          result_objects   = li_result_objects
    Then I am Using the the Org Unit which I get in the above FM to get direct reportees using PATHID = MSSDIREC .
    CALL FUNCTION 'HR_STRUCTURE_GET'
          EXPORTING
            root_plvar       = '01'
            root_otype       = 'O'
            root_objid       = lwa_result_objects-objid
            begda            = p_date
            endda            = '20091231'
            pathid           = 'MSSDIREC'
          IMPORTING
            result_objects   = li_result_objects
    But in return I am not getting the Manger's direct reportees .
    Please let me know what am i doing wrong .
    OR is there any other way to identify the Manger's direct reportees . I only have the Manger's PERNR to start with.
    Thanks

    Hi Abhishek,
    Try  this method if its comply your requirment. As you said you have manager employee number so call FM HR_INFOTYPE_READ.
    You will get the postion of the employee. Then call FM HR_STRUC_GET pass the objid as wa_emp-plans and evalution path ORGA-P. Now loop at result internal table where level = '3' and otype = 'p' . You will get all the direct repotess of the manager.
    Regards,
    Sandeep Surisetti.

  • Why can't i use siri to get directions to one of my contacts

    If i ask siri to get directions to one of my contacts it says that it doesn't have an address for the contact even though all the information is stored in the contact

    The same reason why you can't use it under iOS5. It's exclusive to devices since the iPhone 4S.
    (for selling new products)
    So iPhone 4S, iPad 3, iPhone 5 and iPod Touch 5.
    Thinking about other features, you may be interested in 3D-Maps, but there for, you need an A5 CPU or better.
    So iPad2, iPhone 4S, iPad 3, iPhone 5 and iPod Touch 5.

  • I used the location app to find my daughters ipod with my ipad mini.  App worked great, but now I can't use my ipad, can't get rid of the alerte "ipod located".  Now what do I do

    I used the location app to find my daughters ipod with my ipad mini.  App worked great, but now I can't use my ipad, can't get rid of the alerte "ipod located".  Now what do I do

    Try a reset:
    Hold the Sleep and Home button down for about 10 second until you see the Apple logo.

  • When i try to sign in itunes tells me my apple id haw not been used before and to review account but get directed to a set up apple id page.  any ideas why please

    when i try to sign in itunes tells me my apple id has not been used before and to review account but get directed to a set up apple id page.  any ideas why please

    Could it be that you are using your account on more than 10 devices? Or that more than 10 devices are still connected to your account?
    "iTunes Match requires iOS 5.0.1 or later on iPhone 3GS or later, iPod touch (3rd generation or later), iPad, or iPad mini, or a Mac or PC with iTunes 10.5.1 or later. Limit 25,000 songs. iTunes purchases do not count against limit. Access to some services is limited to 10 devices."

  • Any Funtion module to get equipment no. (EQUNR) using functional location?

    Hi Guys,
    Can anyone tell me the function module to get equipment (EQUNR) using functional location (TPLNR) ?
    regards
    Rahul

    Hello Rahul
    Perhaps the following function modules are helpful:
    - ALM_ME_FUNCLOC_INSTALLED_EQUI
    - INSTALLED_EQMTS_ON_LOCATION
    - INSTALLED_EQMTS_ON_LOC_READ
    Regards
      Uwe

  • I want to use my wifi iPad for navigation but now realise it doesn't have gps built in. Is it possible to use hot spot to get the gps location to my iPad from my iphone? Long shot I know!

    I want to use my wifi iPad for navigation but now realise it doesn't have gps built in. Is it possible to use hot spot to get the gps location to my iPad from my iphone? Long shot I know!

    I thought yes, more like this on the right says no. Why not take the two devices outside and try.

  • When I try to use "store locator", e.g., Eddie Bauer, I get no result with Firefox 4 on Mac OS. Chrome and Safari work OK.

    At various web sites, e.g., Eddie Bauer and Walmart, when I try to use their "store locator", I get no result.

    go to '''TOOLS '''then '''OPTIONS''' then '''ADVANCED''' then '''NETWORK tab''' then '''SETTINGS tab''' and select the options '''NO PROXY''' click '''OK''' and '''OK '''again in the next screen. With that you have disabled the proxy settings.
    ''if you like to not disable the proxy settings choose'' : '''Auto-detect proxy settings for this network''' (it is in the same session)
    thank you
    Please mark "Solved" the answer that really solve the problem, to help others with a similar problem.

Maybe you are looking for

  • PC no longer prints via Airport

    I'm using a Dell PC (XP) and a G4 Powerbook, along with an Airport Extreme. My printer is connected via USB to the Airport and via ethernet to the PC. Since installing the most recent MS updates, I am unable to print from my PC while I am still able

  • How to access my magazine in reader

    How to access my magazine in reader

  • Too small guide letters and black background on guide.

    Thank you LakeTahoe, you will be added to my report Rick.  I do plan on doing my own research and looking up users on other threads about this topic. Let me clarify my request:  If you guys know anyone who has the same feelings towards font size on t

  • N95 v21.0.016 after using Nokia Maps 2.0 Beta on v...

    After updating software Nokia Maps returns to v1.2 wk48 b01 and of course maps in E:/Cities need to be deleted and old maps downloaded using Maploader v1.3 after running Nokia Maps to define folder structure. However on a microSDHC with 708.5Mb space

  • Is it possible to call an executable of compiled c code from within LabVIEW?

    I can compile 'genesis' (the name of the code we are planning to use) under unix: it produces an executable which can be linked to user-constructed c files which contain specific crossover and/or mutation strategies, so once a user has the executable