Code example for Intent

Methods: getData

0
  protected void onActivityResult(int requestCode, int resultCode,
                                    Intent data) {
    if (requestCode==PICK_REQUEST) {
      if (resultCode==RESULT_OK) {
          startActivity(new Intent(Intent.ACTION_VIEW,
                                    data.getData()));
      } 
    } 
  } 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE