title: send variable latitude longitude to google map direction?
body: <p>i want to passing variable latitude longitude to google map direction?
  can help me see the error or have a new solution?
  this is my java code :</p>
  
  <pre><code>public void onClickShowMap(View v) {
        String latitude = ((TextView) findViewById(R.id.latitude)).getText().toString();
        String longitude = ((TextView) findViewById(R.id.longitude)).getText().toString();
  
      Intent intent = new Intent(android.content.Intent.ACTION_VIEW,          
      Uri.parse("http://maps.google.com/maps?f=d&amp;daddr="+latitude+","+longitude));
      startActivity(intent);
      }
  </code></pre>