i am trying to put video as a live wallpaper. I am using media player for that. i can get SurfaceHolder and i can give that holder to the media player. But its not working f
Instead of using **mediaPlayer.setDisplay(surfaceHolder)** you can use **mediaPlayer.setSurface(surfaceHolder.getSurface())**..
**mediaPlayer.setDisplay(surfaceHolder)**
**mediaPlayer.setSurface(surfaceHolder.getSurface())**
It will not give any kind of conflicts with the attribute KeepScreenOn.
NJOY.. :)