I am trying to create a jar binding to use Monkey Talk automated testing. I have created bindings in the past where I had to alter the meta data to change something to public and so on.
When I just add the jar and try to build the dll, I get 4 errors related to missing ICallback functions.
Here is an example of one of those:
.../App.Android.Bindings.MonkeyTalk/obj/Debug/generated/src/Com.Gorillalogic.Fonemonkey.Automators.WindowAutomator.cs(23,23): Error CS0535:
Com.Gorillalogic.Fonemonkey.Automators.WindowAutomator' does not implement interface memberAndroid.Views.Window.ICallback.DispatchGenericMotionEvent(Android.Views.MotionEvent)' (CS0535) (App.Android.Bindings.MonkeyTalk)
I went into the generated cs in the obj folder and found the file "Com.Gorillalogic.Fonemonkey.Automators.WindowAutomator.cs". While looking through the code, I did find several functions that are part of the ICallback interface.
Such as the "DispatchTouchEvent" implementation:
[Register ("dispatchTouchEvent", "(Landroid/view/MotionEvent;)Z", "GetDispatchTouchEvent_Landroid_view_MotionEvent_Handler")]
public virtual bool DispatchTouchEvent (global::Android.Views.MotionEvent p0)
//... their code
OK, so SOME of the ICallback needs are there. But how do I handle the 4 missing ones? I searched the CS file for MotionEvent objects and didn't find any private functions that should be switched to public.