Closed tazinachka closed 8 years ago
Sorry, syncing points like that can't be done. On Feb 11, 2016 4:41 AM, "tazinachka" notifications@github.com wrote:
Hello!
First of all, thank you for creating such a useful add-on!!
I was hoping you could tell me if there is a way to sync the AnkiDroid with the desktop application. I need the whiteboard feature as well as the pinch-zoom gesture, which is only available through the android app ( if you know of the add-on for desktop, I'm all ears!), so I'm forced to use my android tablet.
However, when I sync my tablet with my computer and then refresh HabitRPG I get no new points, despite going through an appreciable amount of cards on the android tablet.
Please let me know if this will be a feature for this add-on, or if you can offer any suggestions.
Thank you!!
— Reply to this email directly or view it on GitHub https://github.com/eshapard/AnkiHRPG/issues/9.
Couldn't the add on save the number of correct answers and on the next sync check for differences?
It already saves the correct answer score to a file. On Mar 18, 2016 11:52 AM, "Nicolò Pretto" notifications@github.com wrote:
Couldn't the add on save the number of correct answers and on the next sync check for differences?
— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/eshapard/AnkiHRPG/issues/9#issuecomment-198492711
But of course the plugin does not run in Android... That's not just a different platform, it's a different programming language; one I don't know. On Mar 18, 2016 4:37 PM, "Edward Shapard" ed.shapard@gmail.com wrote:
It already saves the correct answer score to a file. On Mar 18, 2016 11:52 AM, "Nicolò Pretto" notifications@github.com wrote:
Couldn't the add on save the number of correct answers and on the next sync check for differences?
— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/eshapard/AnkiHRPG/issues/9#issuecomment-198492711
So if i do 10 cards on the phone, and then sync the desktop client which has the add-on it will fire the habitica events?
No. The plugin can't track what you do on the phone. Sorry. On Mar 19, 2016 4:09 AM, "Nicolò Pretto" notifications@github.com wrote:
So if i do 10 cards on the phone, and then sync the desktop client which has the add-on it will fire the habitica events?
— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/eshapard/AnkiHRPG/issues/9#issuecomment-198684145
OK, I think I know what you were suggesting. That that plugin do a search for the total number of questions answered / answered correctly, then do the same after syncing with the server and compare.
If possible, that would work... assuming you only have the plugin installed on one computer. If you had the plugin installed on more than one computer, you would end up getting double-scored for questions.
It may be possible to query Anki's database for this, but I don't know enough about Anki's database structure. This would be a major change to the way the plugin works, and I don't think it's worth it to me to investigate, but I'll keep it in mind.
If you can figure out the code to do this, I'd appreciate that.
I did some poking around in the anki database. There's no running counter of times correctly answered. However, for each card you get a reps count (number of times that card has been seen, I think) and the current and previous interval.
So it would be possible to sum up the reps for all cards to get a count of how many times cards have been shown, but not a count of how many correct responses there were.
It would probably be possible to sum the total number of reps for all cards and use that number to score an 'ankidroid rep' habit for every X number of extra reps on the server.
That might work best as a separate function accessed from a dropdown menu.
Hello!
First of all, thank you for creating such a useful add-on!!
I was hoping you could tell me if there is a way to sync the AnkiDroid with the desktop application. I need the whiteboard feature as well as the pinch-zoom gesture, which is only available through the android app ( if you know of the add-on for desktop, I'm all ears!), so I'm forced to use my android tablet.
However, when I sync my tablet with my computer and then refresh HabitRPG I get no new points, despite going through an appreciable amount of cards on the android tablet.
Please let me know if this will be a feature for this add-on, or if you can offer any suggestions.
Thank you!!