Is there any way to load a sound samples from memory using SoundPool.load
method?
Unfortunatelly, all methods provided in SoundPool
are using arguments for real files.
The problem is that I want to load sounds from zip file on SDcard, and extracting zip (like in this solution) is not an option.
Furthermore, there is a solution for loading from uncomressed zip files, but my files is comressed (and will be with password).
So is there any way to have java.io.FileDescriptor
that represents a virtual file, so I can implement some abstract class placing my own streams?
Best regards.