Alternatives to com.google.googlenav

Put problem concerning MapActivities, MapViews, Overlays and GPS in this forum.

Alternatives to com.google.googlenav

Postby atxe » Fri Feb 27, 2009 12:33 pm

I'm new in this forum =) I'm writing my thesis and it's related with Android.

Firstly, I want to give my congratulations to everyone who writes tutorials, especially to plusminus (good work!).

I pretend to develop an app related with a GPS navigator, not exactly, but I need driving directions. I'm aware about 2 alternative ways to the googlenav package, for getting driving directions:
  • Using the Open Street Map: http://www.openstreetmap.org/
  • Processing HTTP requests from google maps and getting a KML or JSON file format (I think that XML and CSV are not permitted). Inconvenience: Parse a lot of information.
Do you know an easier way to do it? What do you think about these alternatives?

Thanks in advance!
atxe
Junior Developer
Junior Developer
 
Posts: 21
Joined: Fri Feb 27, 2009 12:12 pm

Top

Postby atxe » Tue Mar 03, 2009 11:04 am

C'mon! More than 75 views and no one has something to say... Sorry about my impatience.
atxe
Junior Developer
Junior Developer
 
Posts: 21
Joined: Fri Feb 27, 2009 12:12 pm

Postby atxe » Thu Mar 05, 2009 9:42 am

Well, parsing KML is possible and the processing is not so heavy as I thought. If someone wants to try, my way is an HTTP Connection to Google Maps + SAX Parsing.
atxe
Junior Developer
Junior Developer
 
Posts: 21
Joined: Fri Feb 27, 2009 12:12 pm

Postby ashish » Mon Mar 09, 2009 10:35 am

hello atxe.

i am also working on drawing the route between two location.but i don't know how to do that.please explain me how to get all geopoint between any two location and how to use kml file?

thanks in advance.
ashish
Experienced Developer
Experienced Developer
 
Posts: 62
Joined: Fri Feb 20, 2009 8:09 am

Postby atxe » Mon Mar 09, 2009 10:59 am

Hi ashish.

Have you read this post? driving_directions_json_response-t5107.html

If you have doubts just question ;-)
atxe
Junior Developer
Junior Developer
 
Posts: 21
Joined: Fri Feb 27, 2009 12:12 pm

Postby ashish » Tue Mar 10, 2009 8:48 am

thanks for reply..

i have one another doubt...

i am using kml file to test gps functionalty in my application.As u know kml give us mock location but ,when this application will run on real android phone,so in that case whether it will give me real position or still mock location.

please clear my doubt....
ashish
Experienced Developer
Experienced Developer
 
Posts: 62
Joined: Fri Feb 20, 2009 8:09 am

Top

Postby atxe » Tue Mar 10, 2009 9:53 am

KML is a XML-based language to represent data. In the DDMS, you use KML formated files to emulate a GPS signal. In addition you can handle requests to google maps that can be in KML format. Then It should run good. I haven't tested yet on a real device. I'll do it in the next weeks when I receive my phone.

If someone can comment his/her experiences with GPS in a real phone, I'll be pleased.
atxe
Junior Developer
Junior Developer
 
Posts: 21
Joined: Fri Feb 27, 2009 12:12 pm

Top

Return to Map Problems

Who is online

Users browsing this forum: No registered users and 6 guests