3,115 results (7.811 seconds)
  1. https://gist.github.com/thedumbtechguy/26ac6cba11bf50e591a4/raw/a87b0533da05edaf49232162ce1d2070920d2601/AndroidEncryptedMP3LocalHTTPServer.java

    A Local HTTP Streaming Server (LocalHTTPServer) for Android. This version was specifically made to stream encrypted MP3 files using a CipherInputStream to MediaPlayer but should be easily modified to work on ordinary files. It has been tested on API 9+ and works fine on large files (tested on up to 20MB files) and also supports range requests. I use AES/CTR/NoPadding for encrytion. The server must started and stopped in a Service. Heavily inspired by http://stackoverflow.com/questions/5343730/mediaplayer-stutters-at-start-of-mp3-playback , http://stackoverflow.com/questions/9058135/android-serversocket-programming-with-jcifs-streaming-files/9096241#9096241 , https://github.com/Sriharia/AndroidHttpServer and https://gist.github.com/abeluck/6243306 Raw