Zxing library returns blank number
<p>I am using Zxing library to scan QR Code in my app. When i scan a phone number QR Code, i need to get the phone number scanned. But CaptureActivity is only returning me the type of QR code i.e. TEL:
When i debug the code, i get resultHandler -> result -> number field ""(blank).
Whereas, when i scan an SMS QR code, the same field(number) gives me the appropriate number.
Has anyone tried retrieving a phone number from a QR code. If yes, please help me. </p>

<p>The following is my code:</p>

<pre><code>public void onActivityResult(int requestCode, int resultCode, Intent intent) {

    EditText etResult = (EditText) findViewById(R.id.editText1);

    if (requestCode == 0) {

        if (resultCode == RESULT_OK) {
            String contents = intent.getStringExtra("SCAN_RESULT");
            etResult.setText(contents);
        }
        else if(resultCode == RESULT_CANCELED)
        {
        // Handle cancel
        etResult.setText("Scan cancelled");
        }
    }
}
</code></pre>

<p>Here, i get the value "TEL:" in the field "content".</p>
