Hello, I'm back from vacation...
I give you the Erel's example. The only change I did, is adding permission of "PERMISSION_WRITE_EXTERNAL_STORAGE" in main module. As I told you: it works fine with sdk28 and Android 10 but not with sdk29 and Android 10. Any idea ?