I tried it before and it worked. I removed it and haven't used it for some time. I tried it again on the same app (same certificate and package name) and now writing won't work.
I simply followed the guide again like I did before. I put a delegate and a
on the PenDownHandler, PenUpHandler and PenMoveHandler and it won't print anything. But when I add a delegate to the PointerPressed, PointerReleased and PointerMove it prints something, so it actually detects events, but I think the events are being ignored by MathWidget.
At first in XAML there is an error:
Cannot deserialize metadata type list as 'AnimatedControl' was not found in namespace 'MyScript.Atk.MathWidget.Animations'
But the app still builds and runs. But when I stop the app and look at the XAML again the error is changed to:
Error HRESULT E_FAIL has been returned from a call to a COM component.
Thanks for the reply.
The messages in my console appeared on April 16. That was when my app showed a dialog saying my certificate is invalid. I already changed my certificate on that day. After changing, the dialog and the messages in the console stopped appearing. On I tried the widget after that and it didn't work. I also tried it in April 17 (yesterday), same thing. There are no console messages on April 17. This is proof that the console messages are not related to the problem.
No, I am using Visual Studio 2015.
Are you sure this is not a bug from the ATK?
I created a new application in the ATK dashboard. Then I changed the package name of the app, then used a new cerificate... now it works even if the code wasn't changed. It HAS to be a bug with the ATK. But anyway, thanks for the help.
I found something consistent.
The widget works but when I close it and run it again from the IDE, it won't work. Then when I change the size of the window, it works. It happens every time I repeat these actions.
Widget works -> Close app -> Run from IDE -> Widget doesn't work -> Change size of window -> Widget works
Though I haven't tried it on another app because I don't want my free licenses to run out.