1. Check out our companion app, Forums for Android! Download from Google Play

Google map + route direction + access KML

Discussion in 'Application Development' started by AndroidDeveloper, Apr 3, 2009.

  1. AndroidDeveloper

    Thread Starter
    5

    Mar 9, 2009
    7
    0
    5
    Using the Android SDK 1.0,
    I am planning to display the route(from Source A to Destination B)
    I have spend more time to investigate.
    Its required to get KML file and use in the androiod applications.
    Did any one tried ?
    Questiion:
    1) How to get the KML file from google ?
    2) Using the KML file, how to display in map using android application. Any tutorial available ?
     

    Advertisement

  2. star_bangalore

    star_bangalore New Member
    5

    Mar 12, 2009
    3
    0
    5
    hello anybody developed the code for routes in google map..
    i want 2 display the routes in android phone. by making the hightlight of required routes..
    pls send the me code..
    thanks in advances

     
  3. star_bangalore

    star_bangalore New Member
    5

    Mar 12, 2009
    3
    0
    5
    pls help to code for google map..
    i am very new to android...
    pls post the code find routes in google map..
    thanks in advances
    hello pls post the code for how to use the kml file and processing of it..
    thanks in advances

     
  4. Jose Luis Ayerdis

    Jose Luis Ayerdis New Member
    5

    Aug 22, 2009
    1
    0
    5
    Try to do it with the HTTP URL and the google maps params
     
  5. raul

    raul New Member
    5

    Oct 21, 2009
    1
    0
    5
    Did you ever find answer to your question? I'm looking to solve the similar problem.
     
  6. iainahay

    iainahay New Member
    5

    Mar 18, 2010
    1
    0
    5
    hi, think i have some answers for you....

    if you are using the android sdk 1.0 or earlier you can get directions etc, here is an excellent tutorial...

    Google Driving Directions - MapView overlayed :: anddev.org - Android Development Community | Android Tutorials


    if you are using a later version then the google.DrivingDirections library is no longer available so the above tutorial wont work, you can use kml files to load a route though, here is a tutorial to do that...

    ???: Android - Driving Direction (Route Path)


    Hope this helps!! I'm using a later version so ive done the kml tutorial, let me know if you need any code/help as the tutorial is a bit confusing! the first tutorial i have but cant run as using a later version but you can download the source code from the site, the app is on the marketplace too for free (called AndNav) and works a treat!

    Iain
     
  7. jmunas

    jmunas New Member
    5

    May 5, 2010
    1
    0
    5
    Hello iainahay,

    Please could you zip your source code and send to me?
    The email to send it to is: jmuna@avantiplc.com

    That will be very much appreciated.

    Kind regards,
    J.
     
  8. danielrodrigues

    danielrodrigues New Member
    5

    Dec 15, 2010
    1
    0
    5
    Hi.. Could you help me too please?
    I'm facing the same problem. I'm trying to parse the kml file but i'm not understanding why it's not working. And i'm in trouble with ItemizedOverlay to display the route turn-by-turn.

    Please, could you zip your source code and send to me?
    My email is: danielrodrigues6969@gmail.com

    I would appreciate your help.
    Thanks.

    Best Regards,
    Dennis R.



     
  9. Archukrish

    Archukrish New Member
    5

    Feb 27, 2011
    1
    0
    5
    Hi Friend..
    I too have same problem.. i want to display route in my app...
    please send me your source code...
    my mail id : archana.arjunan88@gmail.com

    Thanks in advance..

     
  10. IT girl

    IT girl New Member
    5

    Mar 10, 2011
    1
    0
    5
    Hi ,, please help me in that , send the source code for me ..
    I have to add direction to my course project plz help
    thanks ..
    my id email :anna_it_89@yahoo.com

     
  11. Pum@

    Pum@ New Member
    5

    May 16, 2011
    2
    0
    5
    Hi.. I have same problem . Can u help me..?
    I want 2 show the route turn by turn in my android apps.. I have displayed the route. but i want 2 displayed both route and turn - by - turn description using KML.
    can u help me..?
     
  12. Pum@

    Pum@ New Member
    5

    May 16, 2011
    2
    0
    5
    Hi.. Can u help me..? I want 2 show turn by turn direction discription. Can u help me..?
    Quote:
    Originally Posted by jmunas
    Hello iainahay,

    Please could you zip your source code and send to me?
    The email to send it to is: jmuna@avantiplc.com

    That will be very much appreciated.

    Kind regards,
    J.
     
  13. ravnish106

    ravnish106 New Member
    5

    Oct 7, 2011
    1
    0
    5
    Hi I would really appreciate if some 1 can send me code for directions / google map...
    Thanks in advance.
    email id : ravnish106@gmail.com
     
  14. stevealbright

    stevealbright Developer
    Administrator
    403

    Apr 19, 2011
    806
    935
    403
    Male
    Android Developer
    York, PA
  15. pac_a

    pac_a New Member
    5

    Jul 18, 2011
    1
    0
    5
    Hello iainahay,

    Can you please mail the source code to me. It will be really appreciated.
    EMAIL ID: p.deathmetal@gmail.com

    Thank You!!
     

Share This Page

Loading...