I am trying to make a Open GL live wallpaper based on Robert Greens
GLWallpaperService:

http://www.rbgrn.net/content/354-glsurfaceview-adapted-3d-live-wallpapers
:

My problem  is that I can’t load my texture resources. The app crashes
when I call
getApplicationContext(); getResources(); or getApplicationContext()

I have a working version of the 3D animation for the wallpaper. I can
load the texture resources in this project and it works like it
should.The resource structures is exactly the same in this project as
in the live wallpaper project, so it should work to load the textures
here also. Should I use some special way to load the texture
resources? I am now using the standard way:

BitmapFactory.decodeResource(resources, R.drawable.l11);

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to