Where should I initialize resources for Android Live Wallpaper

I am developing live wallpapers for Android. Wallpaper allocates some resources, such as background bitmaps, sprites, textures, etc.

The question arises: where should I allocate and initialize all resources? Should I select them in the constructor of inherited objects WallpaperService.Engineor onCreate(SurfaceHolder surfaceHolder)?

+4
source share
1 answer

The short answer is yes SurfaceHolder or WallpaperService . since the explanation of the whole procedure of the method is quite huge.

, http://www.rajeeshcv.com/post/details/36/create-a-live-aquarium-wallpaper-in-android

http://learnandroideasily.blogspot.ae/2013/07/android-livewallpaer-tutorial.html

+1

All Articles