Just trying to flatten out bugs..
- Int can not be dereferenced (on the StartWith Line)
Cannot find symbol method parse(int)
@Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { if (requestCode == BARCODE_READER_REQUEST_CODE) { if (resultCode == CommonStatusCodes.SUCCESS) { if (resultCode.Startswith("http://") || resultCode.startsWith("https://")) { Intent browserIntent = new Intent(Intent.ACTION_VIEW, URI.parse(resultCode)); startActivity(browserIntent); }
Here is the solution: