code: public void setAttachment(String type, Long loc_lat, Long loc_long)
      {
          attachments.put(type, Long.toString(loc_lat) + "," + Long.toString(loc_long));
      }
docs: Set Attachment
  
  @param type the attachment type
  @param loc_lat the attachment location latitude
  @param loc_long the attachment location longitude