Hello team B4X, I was looking for your kind support on recommending best option to encrypt .mp3 file and decrypt it before playing on a b4a app. I wanted to secure the file and decrypt it quickly as possible before playing it considering users will keep pressing next or prev button.
What I used to fetch the mp3 from http as such...
This is how the player I use load the .mp3 file
Thanks!
Daniel G.
What I used to fetch the mp3 from http as such...
B4X:
Dim o As OutputStream
o = File.OpenOutput(File.DirInternal & "/xxxx/", CurrentxxxxxID, False)
File.Copy2(Job.GetInputStream, o)
o.Close
This is how the player I use load the .mp3 file
B4X:
MediaPlayer1.Load(Dir, Filename)
Thanks!
Daniel G.