Android Question Need a concise wait for example


I need some help or direction with the correct use of wait for with the content chooser please.

I have read so much information and cannot get a result. My app never wakes / resumes from the wait for call as so it says in the logs.

I hae read many times over but to no avail still stuck.

I wish to call content chooser, get the image file and copy it to the app folder so I can process the copy and then delete it.