In my practice of setting wallpaper using resources within APK, I tried to charge resources from /res/drawable/ folder. But reported amongst fault of “Expected resources of type raw”.
My solution is to do /res/raw/ folder in addition to deed the resources to it. And charge amongst R.raw….
This video demo how: