Actually i have new in android so i can't find the way...
I want to do this when i enter the name of the address in android Edittext then automatically the position will show in the google map..
<EditText
android:id="@+id/source"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ems="10"
android:text="Source Address"
android:inputType="textPostalAddress" >
<Button
android:id="@+id/button1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Search"
android

nClick="doClick"/>
that is the edittext in android xml....
public void doClick(Context context,Location loc)
{
MapView mapView = (MapView) findViewById(R.id.mapView);
mapView.setBuiltInZoomControls(true);
EditText editText = (EditText) findViewById(R.id.source);
List<Address> message = (List<Address>)editText.getText();
double latitude;
double longitude;
loc.getLatitude();
loc.getLongitude();
latitude=loc.getLatitude();
longitude=loc.getLongitude();
Geocoder gc = new Geocoder(this,Locale.getDefault());
try {
message = gc.getFromLocation(latitude,longitude,1);
}
catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
MapController mc = mapView.getController();
GeoPoint geoPoint = new GeoPoint((int)(latitude * 1E6), (int)(longitude * 1E6));
mc.animateTo(geoPoint);
mc.setZoom(15);
mapView.invalidate();
}
that is my code in Activity....
plz help me...or giving me the code by which i can get my point
