Google Driving Directions - MapView overlayed

Tutorials that use the MapActivity. Many using GPS functionality.

Re: Google Driving Directions - MapView overlayed

Postby sumit_android » Sat Jul 10, 2010 6:40 am

thnx ..it really helps me alot.
sumit_android
Junior Developer
Junior Developer
 
Posts: 19
Joined: Fri Feb 19, 2010 6:59 am
Location: India

Top

Re: Google Driving Directions - MapView overlayed

Postby Sivan » Sun Aug 08, 2010 11:40 am

Hi ...

Nice tutorial .. !
I downloaded the zip file wat u've attached but how to run it on the emulator via eclipse ... ???

Help will be appreciated ...
Sivan
Junior Developer
Junior Developer
 
Posts: 14
Joined: Mon Jul 05, 2010 10:02 am
Location: Bangalore , India

Re: Google Driving Directions - MapView overlayed

Postby UrbanLegend » Sun Aug 22, 2010 2:34 pm

It seems that DrivingDirections have been removed since Android API 1.0
UrbanLegend
Freshman
Freshman
 
Posts: 4
Joined: Sun Jun 20, 2010 9:59 pm

Re: Google Driving Directions - MapView overlayed

Postby Dliswa » Fri Oct 15, 2010 11:54 am

Brother i m new to android development envirnment .i have the following code and it have some problem.
when i press the emulator menu key it does not show the menu item.
plz fix it for me.
and when i add menu.item in my code ide give me error.

thanx in advance




package com.android.manu.test;


import android.app.Activity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.content.Intent;

public class menutest extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
}

public boolean onCreateOptionMenu(Menu menu){
super.onCreateOptionsMenu(menu);
menu.add(0, 0, 0, "AutoComplete");
menu.add(0, 1, 0, "Button");
menu.add(0, 2, 0, "CheckBox");
menu.add(0, 3, 0, "EditText");
menu.add(0, 4, 0, "RadioGroup");
menu.add(0, 5, 0, "Spinner");

return true;

}



public boolean onOptionSelected(MenuItem item){

switch(item.getItemId()){
case 0:
showAutoComplete();
return true;
case 1:
return true;
case 2:
return true;
case 3:
return true;
case 4:
return true;
case 5:
return true;
}

return true;

}
public void showAutoComplete(){

Intent autocomplete = new Intent(this, AutoCompleteClass.class);
startActivity(autocomplete);
}
}[youtube][youtube][url][/url][/youtube][/youtube]
Last edited by Dliswa on Fri Oct 15, 2010 1:55 pm, edited 1 time in total.
Dliswa
Developer
Developer
 
Posts: 30
Joined: Fri Oct 15, 2010 5:56 am

Re: Google Driving Directions - MapView overlayed

Postby Dliswa » Fri Oct 15, 2010 11:54 am

Brother i m new to android development envirnment .i have the following code and it have some problem.
when i press the emulator menu key it does not show the menu item.
plz fix it for me.
and when i add menu.item in my code ide give me error.

thanx in advance




package com.android.manu.test;


import android.app.Activity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.content.Intent;

public class menutest extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
}

public boolean onCreateOptionMenu(Menu menu){
super.onCreateOptionsMenu(menu);
menu.add(0, 0, 0, "AutoComplete");
menu.add(0, 1, 0, "Button");
menu.add(0, 2, 0, "CheckBox");
menu.add(0, 3, 0, "EditText");
menu.add(0, 4, 0, "RadioGroup");
menu.add(0, 5, 0, "Spinner");

return true;

}



public boolean onOptionSelected(MenuItem item){

switch(item.getItemId()){
case 0:
showAutoComplete();
return true;
case 1:
return true;
case 2:
return true;
case 3:
return true;
case 4:
return true;
case 5:
return true;
}

return true;

}
public void showAutoComplete(){

Intent autocomplete = new Intent(this, AutoCompleteClass.class);
startActivity(autocomplete);
}
}
Dliswa
Developer
Developer
 
Posts: 30
Joined: Fri Oct 15, 2010 5:56 am

Re: Google Driving Directions - MapView overlayed

Postby jade » Mon Oct 25, 2010 5:25 am

I am trying this app but I have errors in line
import com.google.android.maps.OverlayController;
import com.google.googlenav.DrivingDirection;
import com.google.googlenav.map.MapPoint;

what is the solution of my errors? I need your help very much thx....
jade
Once Poster
Once Poster
 
Posts: 1
Joined: Mon Oct 25, 2010 5:19 am

Top

Re: Google Driving Directions - MapView overlayed

Postby snowballpk » Mon Mar 07, 2011 12:26 pm

Hi,
I am very new in java. I just want to know from where i can get com.google.googlenav JAR file..
I was trying this tutorial but couldn't able to resolve com.google.googlenav problem..
Thanks
snowballpk
Once Poster
Once Poster
 
Posts: 1
Joined: Mon Mar 07, 2011 12:23 pm

Re: Google Driving Directions - MapView overlayed

Postby neelam » Thu Sep 01, 2011 9:42 am

Hi PlusMinus,

I am trying your code, but not able to find com.google.googlenav package.
Please tell me how to proceed in it..

Thanks
Neelam
neelam
Once Poster
Once Poster
 
Posts: 1
Joined: Tue Aug 30, 2011 9:30 am

Re: Google Driving Directions - MapView overlayed

Postby marita » Sat Sep 17, 2011 4:52 pm

The Dirving
UrbanLegend wrote:It seems that DrivingDirections have been removed since Android API 1.0
User avatar
marita
Once Poster
Once Poster
 
Posts: 1
Joined: Sat Sep 17, 2011 4:41 pm
Location: Tampa, FL

Re: Google Driving Directions - MapView overlayed

Postby Chri » Sat Jan 14, 2012 2:59 pm

Hi plusminus,

I am trying to do a custom navigation system.
Do you have a later version of your navigation system which you could provide in a form of a tutorial or so.

wkr Chris
Chri
Developer
Developer
 
Posts: 42
Joined: Mon Aug 31, 2009 12:08 pm

Top
Previous

Return to Map Tutorials

Who is online

Users browsing this forum: No registered users and 3 guests