public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.history);
    cabloc=(TextView)findViewById(R.id.txt_driverLocation);
    cabloc.setText(getIntent().getStringExtra("cabloc"));
    FragmentManager myFragmentManager = getSupportFragmentManager();
    SupportMapFragment myMapFragment 
    = (SupportMapFragment)myFragmentManager.findFragmentById(R.id.map2);
    map = myMapFragment.getMap();
    map.setMyLocationEnabled(true);
    LatLng myPoint= new LatLng(gpsdataElements.latitude, gpsdataElements.logitude);
    Log.d("OpenMapFOrLocation",gpsdataElements.latitude+"  "+gpsdataElements.logitude);
    map.addMarker(new MarkerOptions().title("mylocation").position(myPoint).icon(BitmapDescriptorFactory.defaultMarker(BitmapDescriptorFactory.HUE_AZURE)).draggable(true));
    map.moveCamera(CameraUpdateFactory.newLatLngZoom(myPoint, 15));
    // Zoom in, animating the camera.
    map.animateCamera(CameraUpdateFactory.zoomTo(15), 2000, null);
    // TODO Auto-generated method stub
}
here i got my destination point as cabloc(destination point) and it was passed by previous class edit text. using this cabloc and my current location i want to draw a path. is it possible to draw path using passed intent value. Please show me some examples. i referred more posts. sorry for asking this question again.