I am developing a live wallpaper for Android. The wallpaper allocates some resources such as background bitmaps, sprites, textures, etc.
The question is: where should I allocate and initialize all of the resources? Should I allocate them in WallpaperService.Engine
inherited object's constructor or onCreate(SurfaceHolder surfaceHolder)
method?