1. Download our Official Android App: Forums for Android!

Apps Google map + route direction + access KML

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

  1. AndroidDeveloper

    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    7
    Joined:
    Mar 9, 2009

    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

    Rank:
    None
    Points:
    5
    Posts:
    3
    Joined:
    Mar 12, 2009

    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

    Rank:
    None
    Points:
    5
    Posts:
    3
    Joined:
    Mar 12, 2009

    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

    Rank:
    None
    Points:
    5
    Posts:
    1
    Joined:
    Aug 22, 2009

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

    raul Lurker
    Rank:
    None
    Points:
    5
    Posts:
    1
    Joined:
    Oct 21, 2009

    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 Lurker
    Rank:
    None
    Points:
    5
    Posts:
    1
    Joined:
    Mar 18, 2010

    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 Lurker
    Rank:
    None
    Points:
    5
    Posts:
    1
    Joined:
    May 5, 2010

    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

    Rank:
    None
    Points:
    5
    Posts:
    1
    Joined:
    Dec 15, 2010

    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 Lurker
    Rank:
    None
    Points:
    5
    Posts:
    1
    Joined:
    Feb 27, 2011

    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 Lurker
    Rank:
    None
    Points:
    5
    Posts:
    1
    Joined:
    Mar 10, 2011

    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@ Lurker
    Rank:
    None
    Points:
    5
    Posts:
    2
    Joined:
    May 16, 2011

    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@ Lurker
    Rank:
    None
    Points:
    5
    Posts:
    2
    Joined:
    May 16, 2011

    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 Lurker
    Rank:
    None
    Points:
    5
    Posts:
    1
    Joined:
    Oct 7, 2011

    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. steve

    steve Developer
    Administrator
    Rank:
     #51
    Points:
    573
    Posts:
    1,072
    Joined:
    Apr 19, 2011

    Apr 19, 2011
    1,072
    1,139
    573
    Male
    Android Developer
    York, PA
  15. pac_a

    pac_a Lurker
    Rank:
    None
    Points:
    5
    Posts:
    1
    Joined:
    Jul 18, 2011

    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...