title: How to get selected location from map activity and pass it to a parent activity?
body: <p>For a current project, I need to do something with latitude and longitude data. </p>
  
  <p>I am using the <strong>Google maps api</strong> (not Maps app). <br/>
  When the project was created, I choose to use a Google Maps Activity template.
  The project contains a MainActivity and a MapsActivity. (min. api 19)</p>
  
  <p>I looking for a way to get the longitude and latitude from a location that the user touched on the map. </p>
  
  <p>The longitude and the latitude from the selected location needs to be selected in MapsActivity, and then passed down to the MainActivity (with CONSTANTS or intents?)
  Finally, when the user selected the location and the data is passed successfully, the user gets back to the MainActivity.</p>
  
  <p><strong>How can I get the selected location on a MapsActivity using Google Maps API for Android, and pass that selected location back to MainActivity?</strong></p>