title: ontouchlistener code cant be applied on int
body: <p>i build an android application on android studio, and i put if statement on the command ontouchlistener code, and show message problem on "this", i think because it need int not intent ?! so i need to solve it please :)</p>
  
  <pre><code> protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_main);
      logpassj = (TextView) findViewById(R.id.logpass);
      logpassjH = (TextView) findViewById(R.id.logpassH);
      mPasswordView = (EditText) findViewById(R.id.password);
      mSearchView = (SearchView) findViewById(R.id.search_view);
  logpassj.setOnTouchListener(new View.OnTouchListener() {
          public boolean onTouch(View v, MotionEvent event) {
              if (event.getAction() == MotionEvent.ACTION_UP) {
                  logpassjH.setVisibility(View.VISIBLE);
                  return true;
              }
              if (event.getAction()== MotionEvent.ACTION_DOWN)
              {
                  logpassj.setVisibility(View.INVISIBLE);
                  if(mPasswordView.getText().toString().equals("123456789"))
                  {
                      Intent intent = new Intent(getApplicationContext(),ITCutiesReaderAppActivity.class);
                      startActivity(intent);
                      PendingIntent pIntent = PendingIntent.getActivity(this, 0, intent, 0);
                      Notification noti = new Notification.Builder(this)
                              .setTicker("Calcupital")
                              .setContentTitle("Calcupital")
                              .setContentText("User Information has been updated successfully")
                              .setSmallIcon(R.drawable.ic_launcher4)
                              .setContentIntent(pIntent).getNotification();
                      noti.flags=Notification.FLAG_AUTO_CANCEL;
                      NotificationManager notificationManager = (NotificationManager) getSystemService(NOTIFICATION_SERVICE);
                      notificationManager.notify(0, noti);
                      mPasswordView.setText("");
  
  
  
                  }
                  else
                  {
                      Toast.makeText(getApplicationContext(),
                              "Invalid ID Information", Toast.LENGTH_LONG).show();
                      mPasswordView.setText("");
  
                  }
  
              }
              return true;
          }
      });
  
  }
  </code></pre>