android - AndEngine. DetachChild in BaseLiveWallpaperService -
i try create wallpaper , use andenginelivewallpaper. so, catch indexoutofboundsexception, when try detach child sprite scene. now, must use runonupdatethread, useful on basegameactivity.
how can fix in baselivewallpaperservice?
call engine runonupdatethread method:
mengine.runonupdatethread(new detachchildrunnable())
Comments
Post a Comment