FilePicker icon indicating copy to clipboard operation
FilePicker copied to clipboard

Opening binary files (.hex, .mot, ...)

Open selcukki opened this issue 1 year ago • 2 comments

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

selcukki avatar May 23 '24 17:05 selcukki

Hi @selcukki

can you explain more about this issue?

ChochaNaresh avatar Jun 24 '24 11:06 ChochaNaresh

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: @.***>

selcukki avatar Jun 24 '24 11:06 selcukki

Hi @selcukki

check in sample app

ChochaNaresh avatar Mar 04 '25 05:03 ChochaNaresh