I submitted my live wallpapers to Samsung apps and they discovered rotation problems. I corrected these problems and the apps got approved by them. I then submitted the same apps to Mobiroo for testing. They found rotation problems on Motorola Xoom, LG Nexus 4 and Acer A500. I pasted the log print out below. I wonder if there is any guide or template code, which I can use to make the live wallpapers handle rotation on all devices?
I have never had any rotation problems with my 3D live wallpapers, only with the 2D live wallpapers. The 3D live wallpapers are based on Robert Green's code( http://www.rbgrn.net/content/354-glsurfaceview-adapted-3d-live-wallpapers), which seem to handle this problem well. ---- 08-14 19:09:50.960: W/WindowManager(270): Force-removing child win Window{416f67a8 mobile.visuals.hypnotic.mandalaf.LiveWallpaperService paused=false} from container Window{41942860 com.android.wallpaper.livepicker/com.android.wallpaper.livepicker.LiveWallpaperPreview paused=false} 08-14 19:09:50.960: W/WindowManager(270): Force-removing child win Window{418129e8 Media:com.android.wallpaper.livepicker/com.android.wallpaper.livepicker.LiveWallpaperPreview paused=false} from container Window{41942860 com.android.wallpaper.livepicker/com.android.wallpaper.livepicker.LiveWallpaperPreview paused=false} 08-14 19:09:50.980: E/BufferQueue(90): [mobile.visuals.hypnotic.mandalaf.LiveWallpaperService] queueBuffer: SurfaceTexture has been abandoned! 08-14 19:09:50.980: E/SurfaceTextureClient(6129): queueBuffer: error queuing buffer to SurfaceTexture, -19 08-14 19:09:50.980: E/SurfaceTextureClient(6129): queueBuffer (handle=0x5bc86748) failed (No such device) 08-14 19:09:50.980: W/dalvikvm(6129): threadid=10: thread exiting with uncaught exception (group=0x40df3300) 08-14 19:09:50.990: E/AndroidRuntime(6129): FATAL EXCEPTION: Thread-222 08-14 19:09:50.990: E/AndroidRuntime(6129): java.lang.IllegalArgumentException 08-14 19:09:50.990: E/AndroidRuntime(6129): at android.view.Surface.unlockCanvasAndPost(Native Method) 08-14 19:09:50.990: E/AndroidRuntime(6129): at com.android.internal.view.BaseSurfaceHolder.unlockCanvasAndPost(BaseSurfaceHolder.java:215) 08-14 19:09:50.990: E/AndroidRuntime(6129): at mobile.visuals.hypnotic.mandalaf.LiveWallpaperPainting.run(LiveWallpaperPainting.java:263) 08-14 19:09:50.990: E/InputEventReceiver(5587): channel '418129e8 Media:com.android.wallpaper.livepicker/com.android.wallpaper.livepicker.LiveWallpaperPreview (client)' ~ Publisher closed input channel or an error occurred. events=0x9 08-14 19:09:50.990: W/WindowManager(270): Failed looking up window 08-14 19:09:50.990: W/WindowManager(270): java.lang.IllegalArgumentException: Requested window android.os.BinderProxy@418276c8 does not exist 08-14 19:09:50.990: W/WindowManager(270): at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:7640) 08-14 19:09:50.990: W/WindowManager(270): at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:7631) 08-14 19:09:50.990: W/WindowManager(270): at com.android.server.wm.WindowManagerService.removeWindow(WindowManagerService.java:2377) 08-14 19:09:50.990: W/WindowManager(270): at com.android.server.wm.Session.remove(Session.java:149) 08-14 19:09:50.990: W/WindowManager(270): at android.view.IWindowSession$Stub.onTransact(IWindowSession.java:124) 08-14 19:09:50.990: W/WindowManager(270): at com.android.server.wm.Session.onTransact(Session.java:111) 08-14 19:09:50.990: W/WindowManager(270): at android.os.Binder.execTransact(Binder.java:367) 08-14 19:09:50.990: W/WindowManager(270): at dalvik.system.NativeStart.run(Native Method) -- 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 --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.