Answer the question
In order to leave comments, you need to log in
How to pass the result of intent execution to the current fragment?
There is a code that launches an intent to access External Storage.
Intent intent = new Intent(Intent.ACTION_OPEN_DOCUMENT);
intent.addCategory(Intent.CATEGORY_OPENABLE);
intent.setType("text/*");
getTargetFragment().startActivityForResult(intent, READ_REQUEST_CODE);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question