title: Fragment to Activity issue
body: <p>I have an issue of opening an <code>Activity</code> through <code>Fragment</code> can any help me with this? </p>
  
  <pre><code>public ReserveFragment(View view) {
      Button button = (Button) view.findViewById(R.id.reserveBlazer);
      button.setOnClickListener(new View.OnClickListener() {
          @Override
          public void onClick(View view) {
              Intent intent = new Intent(getActivity(), BlazerDatabase.class);
              startActivity(intent);
          }
      });
  
  }}
  </code></pre>