Google Driving Directions - MapView overlayed

Tutorials that use the MapActivity. Many using GPS functionality.

Postby wongstar.iac » Thu Nov 06, 2008 7:44 am

plusminus wrote:Hello,

attached it above :uarrow:

Regards,
plusminus

hi I don't know this:
import com.google.googlenav.DrivingDirection;
import com.google.googlenav.map.MapPoint

I RUN it in the SDK 1.0
but this is error ,counld you tell me some codes replace google.googlenav.DrivingDirection's methods in the sdk 1.0
thank you
wongstar.iac
Junior Developer
Junior Developer
 
Posts: 10
Joined: Thu Oct 23, 2008 1:17 am

Top

Postby Bruce.lntu » Thu Nov 06, 2008 10:22 am

wongstar.iac wrote:
plusminus wrote:Hello,

attached it above :uarrow:

Regards,
plusminus

hi I don't know this:
import com.google.googlenav.DrivingDirection;
import com.google.googlenav.map.MapPoint

I RUN it in the SDK 1.0
but this is error ,counld you tell me some codes replace google.googlenav.DrivingDirection's methods in the sdk 1.0
thank you

it seems that there is no more methods for you
User avatar
Bruce.lntu
Developer
Developer
 
Posts: 37
Joined: Thu Jan 03, 2008 11:36 am

Postby plusminus » Thu Nov 06, 2008 4:22 pm

I have posted another tutorial that gets the DrivingDirections via an URL-Call and parses the JSON response.

Best Regards,
plusminus
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

hi

Postby wongstar.iac » Fri Nov 07, 2008 8:33 am

plusminus wrote:I have posted another tutorial that gets the DrivingDirections via an URL-Call and parses the JSON response.

Best Regards,
plusminus

URL_Call??can you tell detail ??
wongstar.iac
Junior Developer
Junior Developer
 
Posts: 10
Joined: Thu Oct 23, 2008 1:17 am

Where is it?

Postby gustavo » Fri Nov 14, 2008 1:53 pm

plusminus wrote:I have posted another tutorial that gets the DrivingDirections via an URL-Call and parses the JSON response.

Best Regards,
plusminus



Can you send us the link to this tutorial???
gustavo
Junior Developer
Junior Developer
 
Posts: 12
Joined: Sun Mar 02, 2008 2:55 pm

Postby plusminus » Fri Nov 14, 2008 5:05 pm

Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Top

Hi,Plus Minus ...when i tried to compile your code

Postby shashanm » Mon Feb 02, 2009 9:31 am

I am using Eclipse it cannot import the package com.google.googlenav.....can you tell me where can i get the package?
shashanm
Freshman
Freshman
 
Posts: 2
Joined: Sun Feb 01, 2009 11:35 pm

Postby ashish » Sun Mar 08, 2009 7:01 pm

hello plus/minus.your tutorial are excellent but problem is that now every one is using sdk1.0 so,many api's are not supported.so please in future,post the tutorial for sdk1.0 only.

In your driving direction tutorial you have used "import com.google.googlenav.DrivingDirection;" package which is not there in sdk1.0 so,do you know any other equivalent API..please let me know...

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

Postby androiddev53 » Wed Jun 10, 2009 12:34 am

Hi,

The DrivingDirection & overlay controller are not available on 1.5.How to implement the directions part on 1.5?

Thanks & Regards,
androiddev53
androiddev53
Freshman
Freshman
 
Posts: 4
Joined: Tue May 19, 2009 2:14 pm

Postby shiteiru » Fri Jun 12, 2009 12:16 pm

Driving Directions and Rout Guidance can't be done with 1.5.
Also Real Time Navigation goes against the Google Maps Terms of Use.
Terms of user are here (10.9a)
http://code.google.com/apis/maps/terms.html

You could use the OpenStreetMap thingy (http://www.anddev.org/viewtopic.php?t=2 ... openstreet) created by PlusMinus and Program your own Route Guidance Class for this Maps.
shiteiru
Junior Developer
Junior Developer
 
Posts: 23
Joined: Tue May 20, 2008 7:16 pm

Postby csie-tw » Sun Jun 21, 2009 11:30 am

androiddev53 wrote:Hi,

The DrivingDirection & overlay controller are not available on 1.5.How to implement the directions part on 1.5?

Thanks & Regards,
androiddev53


DrivingDirection can not be used anymore since SDK 1.1.
However, I found a method to implement the Driving Direction function
without the package com.google.googlenav.DrivingDirection.

The DrawPath(…) function is easy to use for you.
Enjoy it!
http://csie-tw.blogspot.com/2009/06/and ... -path.html
(Please give me comment in the blog, if any)

Image
csie-tw
Freshman
Freshman
 
Posts: 2
Joined: Sun Jun 21, 2009 11:24 am

Postby zpk1234 » Mon Jul 20, 2009 1:04 pm

I Have a question, how can I get the package com.google.googlenav.DrivingDirection,
any one who have this package please send it to me, thanks very much!!

my Email:
henryzpk@163.com
zpk1234
Junior Developer
Junior Developer
 
Posts: 22
Joined: Sat Jun 27, 2009 1:17 pm

Could Not find Class OverlayController

Postby awad » Fri Aug 21, 2009 12:29 pm

Hi PlusMinus,
I dont find the class "com.google.android.maps.OverlayController". Its not present in the API. I m using Android SDK "android-sdk-windows-1.5_r3". Could u help me please.


Regards Awad .
awad
Once Poster
Once Poster
 
Posts: 1
Joined: Fri Aug 21, 2009 12:13 pm
Location: Hyderabad, India

Postby SamB09 » Thu Jan 07, 2010 12:13 am

Instead of hard coding the location co-ordinates in can you show us how to allow the user to type in two locations ?
SamB09
Developer
Developer
 
Posts: 39
Joined: Tue Oct 27, 2009 9:22 pm
Location: England

Re: Driving directions application is nice

Postby phaniraghav » Mon Feb 22, 2010 1:31 pm

Hi,
i have downloaded the 'DrivingDirections_m5' code and tried to run in Android 1.6, but i am getting

import com.google.android.maps.OverlayController;
import com.google.googlenav.DrivingDirection;
import com.google.googlenav.map.MapPoint;

classes as cannot be resolved, can any one help me please
phaniraghav
Freshman
Freshman
 
Posts: 5
Joined: Mon Feb 22, 2010 12:09 pm

Top
PreviousNext

Return to Map Tutorials

Who is online

Users browsing this forum: No registered users and 4 guests