title: Get touch location using onTouch and then programmatically touch this place
body: <p>I made an app that gets the touch location and now I want to make it tap this place..</p>
  
  <p>Here is the code:</p>
  
  <pre><code>public class MainActivity extends Activity {
      @Override
      //OnCreate
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_main);
  
          //GetTouch location
          @Override
          public boolean onTouchEvent(MotionEvent event) {
              Toast.makeText(this, "Location Located",Toast.LENGTH_SHORT).show();
              int eventaction = event.getAction();
              Point point = new Point();
              point.x = (int) event.getX();
              point.y = (int) event.getY();
              switch (eventaction) {
                  case MotionEvent.ACTION_DOWN:
                      break;     
              }
              return false;
          }
      }
  }
  </code></pre>
  
  <p>I only want it to programmatically touch this place.. </p>
  
  <p>How can I do it ? </p>