Opening binary files (.hex, .mot, ...)
I test sample app. I changed mime type to "application/octet-stream" in pick PDF buttons onclick handler. Then in the app we can select the file, but in ActivityResultLauncher both testFile.canRead(), testFile.canWrite() are false. As result the file can not be read.
The cause seems to be mediafile permission is requested
Hi @selcukki
can you explain more about this issue?
I’m using your solution In mcu programmer project. My app needs to open the binary file and read it then send the buffer to the programmer device.
While using your solution , reading the picked file throws access exception .
I hope you can fix it
Selçuk Kılıç
Gönderen: Naresh Chocha @.> Gönderildi: Monday, June 24, 2024 2:11:49 PM Kime: ChochaNaresh/FilePicker @.> Bilgi: Selçuk Kılıç @.>; Mention @.> Konu: Re: [ChochaNaresh/FilePicker] Opening binary files (.hex, .mot, ...) (Issue #54)
Hi @selcukkihttps://github.com/selcukki
can you explain more about this issue?
— Reply to this email directly, view it on GitHubhttps://github.com/ChochaNaresh/FilePicker/issues/54#issuecomment-2186316692, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AX5VJ34CKKJSTIK6O4FD7XLZI75HLAVCNFSM6AAAAABIGDXDRWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBWGMYTMNRZGI. You are receiving this because you were mentioned.Message ID: @.***>
Hi @selcukki
check in sample app