The current implementation of loadTexture in filament.utils.TextureLoader only works for loading the bitmap from Resources.
I propose overloading the function to include an implementation that also loads the bitmap from a ByteArray.
This would be a Android only change AFAIK. I only have used filament for Android so far.