Android custom codec or encrypt media file?
<p>I want to create an application which permits to the user to download media files and play them, but only with my application. So first of all I thought that encrypting files will be a good solution, but it takes to much. Now I'm thinking to create a custom codec for my media files. I didn't work until now with codecs so how complicated is to make one for Android? Can be made in java or only in C and used via JNI? Also can you recomand me some useful books for understanding how are codecs created?</p>

<p>Thanks in advance!</p>
