Hi - I have an Android dictionary app where the user can favorite words. Some users have favorited over a thousand words.
I want to add a feature where the user can export all those words into Anki and I've been looking at ways to do this:
1. Add a feature to AnkiDroid which can accept a broadcast intent containing all the data
2. Add a content provider to AnkiDroid
3. My app exports the words to Anki's .apkg format and then passes it to AnkiDroid
I'm leaning towards the third option, but need to see the specification of the .apkg format to see if it is feasible.
From what I understand about Anki, each dictionary entry corresponds to an Anki Note. And for each Note there will be a card for each Note Type / Model. Should these Note Types be described by AnkiDroid or by my app?
As well as export, I would also want to add a feature where AnkiDroid is automatically updated (i.e. in the background, no UI involved) as soon as the user favorites a new word in the dictionary app.
Please could someone give feedback on the best approach?
Many thanks.