Android : SWIG Callback invoked from c++

on Wednesday, September 3, 2014


I have tried to wrap a Library written in c++ to Java using SWIG, I'm able to call functions from JNI and it works fine. my issue is when I try to invoke a handler for touch (TouchDelegate), the touches are detected from java without problems but the call is redirected to c++ and finally a callback touchBegan is called but from c++, however my goal is to have touchBegan called inside my java code.


Best Regards


0 comments:

Post a Comment