I want pick a file

I want to select a file from the application and upload it to firebase, how can I do it? I’ve looked at almost all the threads but couldn’t find a solution.

I tried with activity starter, I couldn’t load the selected file

can you help me