How to get Live wallpapers to handle rotation on all devices

Problems with Canvas, OpenGL, etc...

How to get Live wallpapers to handle rotation on all devices

Postby MobileVisuals » Tue Oct 15, 2013 8:44 am

I submitted my live wallpapers to Samsung apps and they discovered rotation problems. I corrected these problems. The apps got approved by them after that. 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-glsurf ... 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)
MobileVisuals
Junior Developer
Junior Developer
 
Posts: 20
Joined: Sun Sep 26, 2010 3:19 pm

Top

Re: How to get Live wallpapers to handle rotation on all dev

Postby Abby lu » Mon Oct 21, 2013 3:54 am

The JPX series irons from Mizuno JPX825 Irons Mizuno have replaced the popular MX series and represent Mizuno’s game improvement golf irons. The JPX series consists of the JPX-800, JPX-800 HD and JPX-800 Pro. Each of these is suited for a different level of player.

The unbelievable distance of Mizuno JPX825 Driver the JPX-800 irons is achieved by combining MAX COR Technology, Hot Metal? Face construction, and an exotic pocket cavity to hit the maximum allowable limits for energy transfer.

For many players looks of Mizuno MP-63 Irons the game improvement iron will not affect club purchasing decisions but I know there are others of you, like me, who pay close attention to this. I applaud Mizuno for not putting flashy graphics or colors in this line of irons.

These are not in the same league as cheap golf clubs their MP series irons for more advanced players but still have a great feel and comparison to other game improvement irons.
Abby lu
Experienced Developer
Experienced Developer
 
Posts: 54
Joined: Thu Mar 21, 2013 8:23 am

Top

Return to Android 2D/3D Graphics - OpenGL Problems

Who is online

Users browsing this forum: No registered users and 3 guests