K
K
kirawa2015-05-21 16:58:16
Android
kirawa, 2015-05-21 16:58:16

How to get file path in android?

Intent gallery = new Intent(Intent.ACTION_PICK,android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI);
startActivityForResult(gallery,LOAD_IMAGE_REQUEST_CODE);

I want to launch the phone gallery by clicking on the button and so that the user can select several files and then click "Finish" .. And then I need to get a list of file paths. How to implement this, because most likely such a functional is already in the sdk. Please help with advice and code.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
one pavel, 2015-05-21
@onepavel

onActivityResult

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question