[android-developers] Annoyingly-persistent error in live wallpaper + prefs code

2011-07-31 Thread Jim Graham
I am working on a live wallpaper using AndEngine, and am seeing an annoyingly-persistent problem; I'm hoping someone here can see what I, and one other dev with a good deal more experience than I have, are not seeing. Before I added some preferences, it worked fine...but because the touch event

Re: [android-developers] Annoyingly-persistent error in live wallpaper + prefs code

2011-07-31 Thread Kostya Vasilyev
Jim, Your settings activity is called: com.jdgapps.BouncingBuckies.LiveWallpaperSettings And the error message is about being unable to find: com.jdgapps.BouncingBuckies Not quite the same thing is it? I don't know where a Live Wallpaper settings activity is declared - is it in the

Re: [android-developers] Annoyingly-persistent error in live wallpaper + prefs code

2011-07-31 Thread Raghav Sood
Also when I suggested adding uses-permission android:name=android.permission.SET_WALLPAPER / I meant to add it between in the manifest element. You don't add permission elements inside service ones. I have been thinking over it a little more and also suggest changing android:name=BouncingBuckies

Re: [android-developers] Annoyingly-persistent error in live wallpaper + prefs code

2011-07-31 Thread Jim Graham
On Sun, Jul 31, 2011 at 09:50:15PM +0530, Raghav Sood wrote: Also when I suggested adding uses-permission android:name=android.permission.SET_WALLPAPER / I meant to add it between in the manifest element. You don't add permission elements inside service ones. Yeah, I had it outside before.

Re: [android-developers] Annoyingly-persistent error in live wallpaper + prefs code

2011-07-31 Thread Raghav Sood
Sorry about that. Sometimes the package references mess the apps and LWPs up. On Sun, Jul 31, 2011 at 10:05 PM, Jim Graham spooky1...@gmail.com wrote: On Sun, Jul 31, 2011 at 09:50:15PM +0530, Raghav Sood wrote: Also when I suggested adding uses-permission

Re: [android-developers] Annoyingly-persistent error in live wallpaper + prefs code

2011-07-31 Thread Nick Risaro
Is LiveWallpaperSettings an inner class? I think that you can't put an activity as an inner class. Try moving that to a normal class. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Annoyingly-persistent error in live wallpaper + prefs code

2011-07-31 Thread Kostya Vasilyev
31.07.2011 21:20, Nick Risaro пишет: Is LiveWallpaperSettings an inner class? I think that you can't put an activity as an inner class. Try moving that to a normal class. You can, as long as: - It's static (public static class Inner { ... }); - It's properly referenced in the manifest as

Re: [android-developers] Annoyingly-persistent error in live wallpaper + prefs code

2011-07-31 Thread Jim Graham
On Sun, Jul 31, 2011 at 02:20:31PM -0300, Nick Risaro wrote: Is LiveWallpaperSettings an inner class? I think that you can't put an activity as an inner class. Try moving that to a normal class. I followed the AndEngine live wallpaper template designed for use with the live wallpaper extension.

Re: [android-developers] Annoyingly-persistent error in live wallpaper + prefs code

2011-07-31 Thread Nick Risaro
On Sun, Jul 31, 2011 at 2:23 PM, Kostya Vasilyev kmans...@gmail.com wrote: 31.07.2011 21:20, Nick Risaro пишет: Is LiveWallpaperSettings an inner class? I think that you can't put an activity as an inner class. Try moving that to a normal class. You can, as long as: - It's static

Re: [android-developers] Annoyingly-persistent error in live wallpaper + prefs code

2011-07-31 Thread Jim Graham
Got it working There were a few errors. Turns out it was the second possible change that Raghav mentioned When the first failed, I apparently had a temporary brain failure Yep, android:name=BouncingBuckies needed to be android:name=.BouncingBuckies and

Re: [android-developers] Annoyingly-persistent error in live wallpaper + prefs code

2011-07-31 Thread Nick Risaro
Glad to hear that :) -- 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