android - Andengine Live Wallpaper Galaxy S4 Touch Issues -
i have published live wallpaper andengine , received email saying touch not working on device. did working while previewing wallpaper, when set background touch doesn't work longer. far know, on s4, have tested on s3 , many other devices.
here touch code wallpaper. inside oncreatescene method.
mscene.settouchareabindingonactiondownenabled(true); sprite buttonsprite = new sprite(279, 618, btntextureregion, getvertexbufferobjectmanager()){ @override public boolean onareatouched(touchevent ptouchevent, float ptoucharealocalx, float ptoucharealocaly) { if(ptouchevent.isactiondown()) { randomspawn(); } return true; } }; mscene.registertoucharea(buttonsprite); mscene.attachchild(buttonsprite);
there similar issues s3. samsung overrode teh default behavior of livewallpapers. not scroll, , not receive touch events should. boo, samsung. "touch wiz" skin.
Comments
Post a Comment