how to play an encrypted file in Android.
Posted
by user306517
on Stack Overflow
See other posts from Stack Overflow
or by user306517
Published on 2010-04-14T18:17:17Z
Indexed on
2010/04/14
20:43 UTC
Read the original article
Hit count: 209
I need to be able to play an encrypted file in Android.
The file is AAC.
The only way I can see to do this is either:
- decrypt the file to internal private storage and point the player at that file to play, or
- decrypt & decode the file to pcm and feed it to an AudioTrack.
1 isn't great because it takes a long time to do that.
2 isn't great either because I don't know how I can take advantage of the HW decoder to do this.
Any ideas?
tia.
© Stack Overflow or respective owner