title: Zoom in and out is not working in my google map on Android
body: <p>When I set on touch listener for getting touch location lat long then me zoom in and out is not working its working when I remove on touch listener from my code. So how to achieve to work zoom in and out in Google map and get touch location lat long? </p>
  
  <p>My code is below</p>
  
  <pre><code>   mapView = (MapView) findViewById(R.id.map);
      mapView.setBuiltInZoomControls(true);
       mapView.setOnTouchListener(new View.OnTouchListener() {
              @Override
  
              public boolean onTouch(View v, MotionEvent event) {
                  Log.i("!!!!!","*****");
  
              //---when user lifts his finger---
  
                  if (event.getAction() == MotionEvent.ACTION_UP) {
  
                       Projection p2 = mapView.getProjection();
                       GeoPoint geoPoint = p2.fromPixels((int) event.getX(), (int)event.getY());
                       int latitude = geoPoint.getLatitudeE6();
                       int longitude = geoPoint.getLongitudeE6();
                       String aString = Integer.toString(latitude);
                       String aString2 = Integer.toString(longitude);
  
                       Log.i("latitude,longitude",aString+",,"+aString2);
                       if((latitude &lt; -34.538238) &amp;&amp; (latitude &gt; -34.672182))
                       {
                        if((longitude &lt; -58.347702) &amp;&amp; (longitude &gt; -58.528976))
                        {
                           Log.i("lat,long",aString+",,"+aString2);
                        }
                        else 
                        {
                               Log.i("out of region",aString+",,"+aString2);
  
                        }}
                      Log.i("@@@@@!!!!!","*****");
  
  
  
                  }
                  return true;
  
              }
  
  
              });
  </code></pre>