Oh man. I threw away that code last year when I switched to GLSurfaceView. I didn't think I'd need to do that again!
On Jan 12, 3:45 pm, Romain Guy <romain...@android.com> wrote: > Initializing GL works the same way as with a SurfaceView. > > > > > > On Tue, Jan 12, 2010 at 1:39 PM, Robert Green <rbgrn....@gmail.com> wrote: > > I just checked out the CubeLiveWallpaper sample that comes with SDK > > 2.1 and it's got everything you need for a canvas-based wallpaper but > > doesn't give any example at all on how to initialize and use OpenGL. > > > I have my wallpaper app all ready to go, but it's using the standard > > Activity/GLSurfaceView/Renderer. I figured that I'd be able to cut > > and paste most of it into the new wallpaper service code but as of > > right now, I'm really not sure how to go about doing this. > > > Are we supposed to create an Engine, handle GL initialization > > ourselves, draw to GL when draw() is called and ignore the canvas or > > is there a better way? > > > On Jan 12, 2:12 pm, juande <jua...@gmail.com> wrote: > >> Ups! I'm sorry! (It requires to be a member) > > >> I tried to put the links here and I get an error (Google Groups)... ¿? > > >> On 12 ene, 13:59, TjerkW <tje...@gmail.com> wrote: > > >> > Android 2.1 has API support for creating live wallpapers. This means > >> > that we can implemente our own live wallpapers w00t! > > >> > However what i like to see is a Tutorial on creating such a live > >> > wallpaper. > >> > Is there going to be added one? > >> > What about battery live? > > >> > Or maybe a link to the sourcecode to one of the live wallpapers in > >> > Nexus One? > > >> > When i run a 2.1 emulator and choose a live wallpaper it says: "No > >> > live wallpapers" > > >> > -- > >> > Anyway thanks for this nice peace of software. > > > -- > > You received this message because you are subscribed to the Google > > Groups "Android Developers" group. > > To post to this group, send email to android-developers@googlegroups.com > > To unsubscribe from this group, send email to > > android-developers+unsubscr...@googlegroups.com > > For more options, visit this group at > >http://groups.google.com/group/android-developers?hl=en > > -- > Romain Guy > Android framework engineer > romain...@android.com > > Note: please don't send private questions to me, as I don't have time > to provide private support. All such questions should be posted on > public forums, where I and others can see and answer them
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en