title: How to open another activity after scanning a QR code?
body: <p>I'm currently working on QR code scanner. I want to ask if it is possible to open another activity after the QR code have been scanned rather than getting it displayed as a toast? </p>
  
  <p>I've solved the problem already .Thank you guys, I'm sorry for asking for such a simple question. I'm really new to android programming.</p>
  
  <pre><code>public void scanResult(ScanResult result) {
  
        Toast.makeText(this, result.getRawResult().getText(), Toast.LENGTH_LONG).show();
  
   }
  </code></pre>