title: Card View Click on card to move to next activity
body: <p>I am working on a project in android and i just learn about <strong>card view</strong> class.
  I made a card who generates a toast when user clicks on it.<br>
  But i also want my card to call another activity when user clicks on it.<br>
  I am posting part of my code below.  </p>
  
  <pre><code> btnProceed.setOnClickListener(new View.OnClickListener() {
          @Override
          public void onClick(View view) {
              showToast("Proceed to the next step");
              Intent intent = new Intent(MyLocationUsingLocationAPI.this, click_picture.class);
              startActivity(intent);
          }
      });
  </code></pre>
  
  <p>I have made changes in my code as you said but when i click on proceed button my app crashes.What is wrong with code?</p>