Where should I initialize resources for an Android Live Wallpaper

Viewed 216

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?

1 Answers
Related