androidlive-wallpaper

Live Wallpaper startup problem


I have created Live Wallpaper app. When I start this via Wallpapers -> Live Wallpapers -> Settings and then Set wallpaper it works, but if I reboot the phone the drawing is just black color.

What's the way to optimize it? I want it to be as if I set it in the Walllpaper settings, but when the phone is booting up.

Any ideas? Just comment if there's any specific code you want to see.

Thanks!


Solution

  • If you're using an image from external memory (e.g. SD card) you should consider copying the image to your application's internal memory.