HyperTouch icon indicating copy to clipboard operation
HyperTouch copied to clipboard

Android : Compatibility borken with OPENFL 1.2

Open whitetigle opened this issue 11 years ago • 8 comments

Hi, just tried to switch to openfl 1.2.2 and hypertouch does not work anymore.

Seems you cannot rely on GameActivity for handling events : symbol org.haxe.nme.GameActivity does not exist anymore.

I saw that you were "Waiting for the GLSurfaceView reinitialization" so maybe with openfl / lime it is doable?

whitetigle avatar Jan 04 '14 10:01 whitetigle

Yep, the template now contains org.haxe.lime.GameActivity, renaming in it java files fixes it.

musanek avatar Feb 23 '14 22:02 musanek

Great! Thanks :) Le 23/02/2014 23:48, musanek a écrit :

Yep, the template now contains org.haxe.lime.GameActivity, renaming in it java files fixes it.

— Reply to this email directly or view it on GitHub https://github.com/shoebox/HyperTouch/issues/9#issuecomment-35846784.

ThinkSlow - cross-platform gaming experiments

( who ? why ? what ? ) -> http://www.thinkslow.net ( how ? when ? ) -> http://blog.thinkslow.net

whitetigle avatar Feb 24 '14 08:02 whitetigle

thanks for the tip ! it now compiles but runtime crash when swiping !

postite avatar Mar 09 '14 14:03 postite

Yep, something has obviously changed in threading recently and this lib started crashing. I have fixed it locally, I will put it on my github now and let you know.

musanek avatar Mar 09 '14 14:03 musanek

@musanek cool ! can't wait

postite avatar Mar 09 '14 14:03 postite

https://github.com/musanek/HyperTouch/tree/haxe3 here you go, hoperfully it will work for you too :)

I have seen newer extensions where the java/cpp glue is replaced by JNI directly but it works for me now so I did not bother to rewrite that.

musanek avatar Mar 09 '14 15:03 musanek

ok thx i 'll try ASAP

postite avatar Mar 09 '14 15:03 postite

works like a charm ! thank you very much @musanek !

postite avatar Mar 09 '14 15:03 postite