i want to share the Location on click the pin on mapv2. i already implement the popup on press pin but the not idea about the location share. so any one can implement in it..
     ButtonListener = new PopupWindowTouchListener(popupButton) {
        @Override
        protected void onClickConfirmed(View v, Marker marker) {
    //              Toast.makeText(MainActivity.this, "button1 clicked!", Toast.LENGTH_SHORT).show();
            String message = "http://maps.google.com/maps?q=" + latitude + "," + longitude + "&iwloc=A";
            System.out.println("message...> " + message);
            sendSMS("**********",message);
        }
    }; 
   private void sendSMS(String phoneNumber, String message){
    System.out.println("message..> " + message);
    System.out.println("phoneno..> " + phoneNumber);
    SmsManager sms = SmsManager.getDefault();
    Log.d("TAG", "Attempting to send an SMS to: " + phoneNumber);
    try {
        sms.sendTextMessage(phoneNumber, null, message, null, null);
        System.out.println("successfully sent ");
    } catch (Exception e) {
        Log.e("TAG", "Error sending an SMS to: " + phoneNumber + " :: " + e);
    }       
} 
 
     
    