Hi All,
I have few elementry sound files[1mb+ size] in res\raw , I am reading 2 at a time and mixing it as a conposite sound and sending it to audioTrack to play.
[before when I didn't got the idea of encrypting I used to read it as inputstream and process it then and there then release memory and then taking the next chunk]
Now when I know it is not secure ,I want to secure those elementry sounds.
the procedure I tried:
style 1>
encrypt the sound and pack in apk file and host in google.
decrypt the sound file at runtime and mix and play.
problem: It is crashing as I am reading the full 1mb in memory and decrypting in memory
and playing.
style 2>
decrypting and storing in cache or temporary file [taking space from external memory]
problem:If the person don't have sd card.
if they root it and copy the decrypted sound from temp folder.
style 3,4,5,.... Here I need helps :(
thanks in advance