How do you create a new file using file picker and write to it?

you should test on Android 13+

do you plan to publish your app in Google Play?
If not you also can follow this suggestion

Taifun