andbook!.pdf - Learning Android Get an anddev.org - Android-Shirt Back to index
anddev.org Header Logo
FAQ Search Top rated articles Browse Feeds anddev.org - Authors Contact Details Register Log in

Google Driving Directions - MapView overlayed

Goto page Previous  1, 2, 3, 4, 5  Next
 
       anddev.org - Android Development Community | Android Tutorials | Index -> Map Tutorials
Author Message
wongstar.iac
Junior Developer
Junior Developer


Joined: 23 Oct 2008
Posts: 10

PostPosted: Thu Nov 06, 2008 7:44 am    Post subject: Reply with quote

plusminus wrote:
Hello,

attached it above Arrow Up

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
Back to top
View user's profile Send private message
Bruce.lntu
Developer
Developer


Joined: 03 Jan 2008
Posts: 37

PostPosted: Thu Nov 06, 2008 10:22 am    Post subject: Reply with quote

wongstar.iac wrote:
plusminus wrote:
Hello,

attached it above Arrow Up

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
Back to top
View user's profile Send private message
plusminus
Site Admin
Site Admin


Joined: 14 Nov 2007
Posts: 2660
Location: College Park, MD

PostPosted: Thu Nov 06, 2008 4:22 pm    Post subject: Reply with quote

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

Best Regards,
plusminus

_________________
Download my apps Idea
Please remember, that this board is give & take Smile


| Android Development Community / Tutorials
Back to top
View user's profile Send private message Send e-mail Visit poster's website
wongstar.iac
Junior Developer
Junior Developer


Joined: 23 Oct 2008
Posts: 10

PostPosted: Fri Nov 07, 2008 8:33 am    Post subject: hi Reply with quote

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 ??
Back to top
View user's profile Send private message
gustavo
Junior Developer
Junior Developer


Joined: 02 Mar 2008
Posts: 12

PostPosted: Fri Nov 14, 2008 1:53 pm    Post subject: Where is it? Reply with quote

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???
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
plusminus
Site Admin
Site Admin


Joined: 14 Nov 2007
Posts: 2660
Location: College Park, MD

PostPosted: Fri Nov 14, 2008 5:05 pm    Post subject: Reply with quote

Arrow http://href.to/jNe
_________________
Download my apps Idea
Please remember, that this board is give & take Smile


| Android Development Community / Tutorials
Back to top
View user's profile Send private message Send e-mail Visit poster's website
shashanm
Freshman
Freshman


Joined: 01 Feb 2009
Posts: 2

PostPosted: Mon Feb 02, 2009 9:31 am    Post subject: Hi,Plus Minus ...when i tried to compile your code Reply with quote

I am using Eclipse it cannot import the package com.google.googlenav.....can you tell me where can i get the package?
Back to top
View user's profile Send private message
ashish
Experienced Developer
Experienced Developer


Joined: 20 Feb 2009
Posts: 59

PostPosted: Sun Mar 08, 2009 7:01 pm    Post subject: Reply with quote

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................
Back to top
View user's profile Send private message
androiddev53
Freshman
Freshman


Joined: 19 May 2009
Posts: 4

PostPosted: Wed Jun 10, 2009 12:34 am    Post subject: Reply with quote

Hi,

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

Thanks & Regards,
androiddev53
Back to top
View user's profile Send private message
shiteiru
Junior Developer
Junior Developer


Joined: 20 May 2008
Posts: 23

PostPosted: Fri Jun 12, 2009 12:16 pm    Post subject: Reply with quote

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=2967&highlight=openstreet) created by PlusMinus and Program your own Route Guidance Class for this Maps.
Back to top
View user's profile Send private message
csie-tw
Freshman
Freshman


Joined: 21 Jun 2009
Posts: 2

PostPosted: Sun Jun 21, 2009 11:30 am    Post subject: Reply with quote

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/android-driving-direction-route-path.html
(Please give me comment in the blog, if any)

Back to top
View user's profile Send private message Visit poster's website
zpk1234
Junior Developer
Junior Developer


Joined: 27 Jun 2009
Posts: 22

PostPosted: Mon Jul 20, 2009 1:04 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
awad
Once Poster
Once Poster


Joined: 21 Aug 2009
Posts: 1
Location: Hyderabad, India

PostPosted: Fri Aug 21, 2009 12:29 pm    Post subject: Could Not find Class OverlayController Reply with quote

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 .
Back to top
View user's profile Send private message Yahoo Messenger
SamB09
Developer
Developer


Joined: 27 Oct 2009
Posts: 39
Location: England

PostPosted: Thu Jan 07, 2010 12:13 am    Post subject: Reply with quote

Instead of hard coding the location co-ordinates in can you show us how to allow the user to type in two locations ?
Back to top
View user's profile Send private message MSN Messenger
phaniraghav
Freshman
Freshman


Joined: 22 Feb 2010
Posts: 2

PostPosted: Mon Feb 22, 2010 1:31 pm    Post subject: Re: Driving directions application is nice Reply with quote

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
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
       anddev.org - Android Development Community | Android Tutorials | Index -> Map Tutorials All times are GMT + 1 Hour
Goto page Previous  1, 2, 3, 4, 5  Next
Page 4 of 5

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


© 2007, Android Development Community
All rights reserved.
Powered by phpBB.