How do I with Jetbrains components resources fetch a file from `files` folder in APK root? It need t...
j
How do I with Jetbrains components resources fetch a file from
files
folder in APK root? It need to be Uri format. Path is like this:
Copy code
/data/app/~~2IbLybenemdK5NXdRL9gjQ==/com.mycompany.android-oUi3wDV1oCG95zd1H8Vr5Q==/base.apk/files/video.mp4
The problem in my case is CMP enforce me put things into files folder.
not kotlin but kotlin colored 2
m
This seems unrelated to Compose. You will be better served using Stack Overflow, where this has been covered, many times. Net: resources are not files on the device, so there is no filesystem path that you can use for one.
j
I need resolve this in compose and I Googled, asked AI and check SO trust me. I wouldnt ask otherwise. None of the standard ways working as expected. I guess I shouldve added the jvm resources reflection I testing to lean more against JVM.