I finally did it through IOUtils.toByteArray conversion (for synchronous solution).
AIR Native extension read file with JAVA and handle it with Flash?
-
01-07-2022 - |
Question
I have some files inside my app expansion file accessed with JAVA APKExpansionSupport provided by Google library. I can read files as InputStream, f.e. MP3, but I need to read this file on Flash side (to play it) and don't know how... My initial idea was to convert the InputStream to FREByteArray but I'm not sure if that's the way. Some hints?
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow