Skip to content

Instantly share code, notes, and snippets.

@BalioFVFX
Created May 12, 2019 12:51
Show Gist options
  • Save BalioFVFX/618d22e0b5994e6ed56abb2e9deea30b to your computer and use it in GitHub Desktop.
Save BalioFVFX/618d22e0b5994e6ed56abb2e9deea30b to your computer and use it in GitHub Desktop.
@Override
protected void onActivityResult(int requestCode, int resultCode, @Nullable Intent data) {
String selectedFileAbsolutePath = null;
if(data != null){
selectedFileAbsolutePath = data.getStringExtra(SimpleFileExplorerActivity.ON_ACTIVITY_RESULT_KEY);
}
Toast.makeText(this, selectedFileAbsolutePath, Toast.LENGTH_LONG).show();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment