title: How to get click of buttons inside balloons in android google map v2?
body: <p>I am working on GoogleMap V2 in Android, I have some Markers on the map, clicking on any marker I am opening InfoWindow. In my info window I have 4 textview and 2 buttons. I want to perform some different action clicking on these two buttons: In my case button 1 is for get direction and button2 is for make a phone call. I have no idea how can I do this so please help me to find the solution of this problem. For better understanding I attached an image of my infowindow. Below are the some code which I tried to fire my intents:</p>
  
  <pre><code>phoneBtn.setOnClickListener(new OnClickListener() {
  
                  @Override
                  public void onClick(View v) {
                      // TODO Auto-generated method stub
                      Intent callIntent = new Intent(Intent.ACTION_CALL);
                      callIntent.setData(Uri.parse("tel:"
                              + phoneText.getText().toString()));
                      System.out.println("Clicking");
                      activity.startActivity(callIntent);
                  }
              }); 
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/miKf7.png" alt="enter image description here"></p>