title: Get back generated QR code from zxing encode
body: <p>I've been using zxing (including the core.jar in my project) to generate QR codes using the examples with the following code:</p>
  
  <pre><code>Intent intent = new Intent("com.google.zxing.client.android.ENCODE");
  intent.putExtra("ENCODE_TYPE", type);
  intent.putExtra("ENCODE_DATA", data);
  intent.putExtra("ENCODE_SHOW_CONTENTS", false);
  startActivity(intent);
  </code></pre>
  
  <p>However instead of calling a new activity I would like to get back the encoded image, so I can use the image in a custom activity of my own.</p>
  
  <p>Is there a way to do this with zxing?</p>