Vote for Whiteboard API for Ankidroid

Just querying to get a whiteboard API, because some of my cards requires whiteboard to be enabled automatically by default, and some which comes right after do not. So, i think we need an API to control Whiteboard programatically for cards.

Further, if whiteboard is enabled right now for certain card, for next card that appears, will also have a whiteboard overlay and for that reason, i kinda have to disable whiteboard in menu which increases a friction for me to study.

1 Like

You can assign certain gestures to turn the whiteboard ON/OFF.

I was wrong!

Edit: I will be right! New Study Screen: Whiteboard - "Toggle Whiteboard" - most gestures don't work when drawable · Issue #20554 · ankidroid/Anki-Android · GitHub.

I think so too. Api is required.
I’ve even given up on gestures. I’ve stuck with just buttons. If I’m drawing something on the board, I just bring up the button at the top and it doesn’t take long to turn it on or off. And if the board is on and I need to click through it, I hold one finger on the screen and tap with the other. I’m getting by for now, but luckily I’m learning simple languages, not hieroglyphics.

If there will be an API support, we can basically basically program to enable whiteboard overlay on certain card via any button click and when next new card appears, we can programatically remove the whiteboard overlay by default, and engage with new card.
If whiteboard is required again, we can basically enable it again.

So, i think API becomes essential to this.

Currently, i made a canvas that saves storkes data and drawn info in local storage which can be retrived in back card while review and when new card appears, the canvas overlay is killed and i need to enable canvas again if i want in new cards.
This is a way too complex implementation and is slower. I love the native whiteboard/scratchpad. Fingers crossed for it’s API soon.