-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make it work on Mobile #20
Comments
The writing itself is Javascript, I tried to use it on mobile Anki but it did not work for me. Also, mobile does not have a plugin system. You can try to paste the javascript into a card template and see how it works for you. |
I'll see. |
Hey. You've a better understanding of the code. |
Oke. Got it working for one card, as I wrote the script, that you generate dynamically directly into the card. Know the question is, how to make this available for each card, by storing it on generation. |
I would not use any of my code, but just directly the hanziwriter javascript. Then you can just use the field in the card you want to query for. |
Yep. I've written a small Javascript to make it work. It can be found here: |
I created a mobile fallback for maobi. Instead of the drawing canvas, it shows an input field with automatic validation. It only activates when maobi is not loaded. I use it together with the handwriting input keyboard on iOS and it works well so far. One downside is, however, that it does not show you the correct stroke order. To use the fallback, add the code of the following snippet to the front template of the maobi card. https://gist.github.com/arueckle/ee75416b30f5b4e7c7d5d815036ec08b This is how it looks like on iPad: |
I have implemented it but due to character encoding it is failed to load in Ankidroid. https://github.com/infinyte7/Anki-maobi It is working on AnkiDesktop but due to character encoding It is not working in Ankidroid. I have tried many solutions but It is failed to load. So may be there is error due to character encoding in Ankidroid webview. |
Finally I have implemented it for Ankidroid check this. |
Thank you! I linked your repository in the readme. I will close this issue for now, we have now 2 alternatives for mobile. It would be nice though if you could choose a different name for you project, as now there are two maobi projects which are not related. |
okay, I will do that |
Wouldn't it be awesome to have this also available on mobile apps?
I know that the add in is currently written in Python and as such unfit for mobile use, but moving to JavaScript would remove this issue.
The text was updated successfully, but these errors were encountered: