Monday, July 14, 2008

Anki for the iPhone (Cross-Platform Syncd Flashcards)

**NOTE**
Anki for the iPhone is nolonger being developed; it has been replaced by StudyArcade for the iPhone, which has all the same features and many more!

Anki is an excellent tool for flashcards, in my experience. Rather than asking for a "know/don't know" with each flashcard, it asks the user to rate his or her knowledge on a 5-point scale. The scale determines how long it will be before the flashcard re-appears. The effect is that difficult flashcards appear frequently, and easy ones fall to the back - but if you should forget an easy one when it does come around, it will start re-appearing again. For the purpose of rote memorization, this system is a good one. Anki is opensource and works on Mac, Linux, and Windows. Furthermore, it synchronizes your flashcard data on a server.

As a fan of the Anki system, building an iPhone port for the application seemed a logical step. The iPhone is the perfect platform for studying while on the go or sitting and waiting. I built the "Anki Flashcards" as a simple iPhone interface for the Anki system (built using Jiggy). Once downloaded and installed, the user is prompted to enter his Anki login/username in the settings section. This allows the program to connect to the Anki server and synchronize your flashcards.

This project was too small in scale for me to bother adding the ability to create new flashcards or anything of the sort. For now, all the application does is let you quiz yourself on flashcards from your Anki account. All progress is saved (in real time by the iPhone) and tracked on the Anki server, so if you then use Anki on your deskop or laptop, all of this data will be copied during the next sync.

So, here is the actual project zip file. You need the Jiggy runtime to be able to run the program. Of course, this application is also open-source. Let me know what you think, and any troubles you have, at zane@inZania.com

Labels: , , , ,

15 Comments:

At July 15, 2008 12:16 PM , Blogger inZania said...

**BUG**
Just FYI, I have been informed of a bug in the 0.1.0 Beta version of this software. The Anki username/password input fields do not allow for entering numbers (only letters). This means if you have an Anki account name or password with numbers, you will need to either wait for a new version or change your un/pw. Sorry! I'll fix it as soon as possible.

 
At July 16, 2008 9:42 AM , Anonymous Anonymous said...

I have one of the first batch of iPhones the one I test applications on is a 4Gb iphone and Im gettin a error message
"JavaScript error 'TypeError: str has no properties' in 'var/stash/Applications.red6QW/Anki Flashcards.app/anki.js' at line 10" thats the error message for word for word.

PS Linux wasn't not built to play games on. These systems started out as a learning tool for students. With wine and Ubuntu support many popular games like World of Warcaft and unreal. I dont use any computer to play games I own PS3 and xbox360 and they area just as good for me for game play. Linux and Unix are my favorite OS to C/C++ computer Program in. But like my dad always told me different strokes for different folks.

 
At July 16, 2008 10:40 PM , Blogger inZania said...

Thanks for the bug report. I just sent version 0.1.1 (beta) off to be updated in the repository, so you should be able to upgrade soon. It fixes quite a few error messages and adds a lot of new functions... but I still can't seem to allow for Anki usernames/passwords with numbers :( Still working on that...

Changelog for 0.1.1 beta:
- Added stat output
- Added "last card" output
- Added support for "Deck is complete" and "no cards in deck" messages
- Added "no internet connection" check
- Improved loading messages to reflect status
- Improved overall speed
- Fixed but with sounds displaying within the text
- Fixed misc. error messages

 
At July 17, 2008 10:58 PM , Blogger Jordan said...

My fix for the numbers problem was to put bogus data in, then manually edit the plist file with the right info. Can use plutil from erica's utils package, or just vi if you're careful.

 
At July 21, 2008 8:04 AM , Blogger Damien Elmes said...

Hi, I'm the author of Anki.
I just came across this frontend when looking through Cydia, and was quite surprised! There has been a sudden influx of users on the website recently with no identifiable origin, and I suspect this application is quite likely to be part of the cause for that.

Anyway, I've been working on optimizing the backend at the moment so that it will run at a reasonable speed on the iphone/touch. When work on that is complete I plan to write a frontend (maybe in Ziggy) so that people can study even when they're offline. Having an existing frontend available should speed along development!

 
At August 22, 2008 7:20 AM , Anonymous Anonymous said...

Hi, I have a question: should the program also work wiht iPods?

I downloaded the current version (0.1.4) on my iPod touch (1.1.4) but the program always crashes at the second card in online mode. In offline mode I get the following error message: "one or more of the offline cards did not have a front and back side...".

Any advice?

 
At August 30, 2008 10:53 AM , Anonymous Anonymous said...

I have the Anki 0.1.4. I was able to install it correctly. However when it first prompted me with the user name and login, I accidentally put in the incorrect log in. Now every time I run Anki, it tries to log in using that login, but cannot. So it gives me the option of working offline. But since I don't have any previous cards, there is a Fatal Error and the program shuts down. I would appreciate any help you can give me . Thanks!

 
At September 1, 2008 6:23 PM , Anonymous Anonymous said...

Ditto. And uninstalling/reinstalling doesn't help

 
At September 8, 2008 8:41 AM , Blogger Joseph said...

any chance of this being submitted to Apple for distribution through iTunes?

 
At September 13, 2008 3:03 AM , Blogger Terrence said...

I downloaded 0.1.4 through cydia. Even though I had a reliable connection it still kept telling me that it couldn't find the server. If I wanted to manually install a database of flashcards (let's say Chinese) by means of iPhonebrowser or other iphone file management software, what files would I copy and where would I copy them too?

 
At September 16, 2008 2:13 AM , Anonymous Anonymous said...

I cant find this app in Cydia. Which repo is it in? I looked in BigBoss but I dont see it. I dont see Jiggy either so maybe something is wrong with Cydia.

 
At September 28, 2008 11:46 PM , Anonymous Anonymous said...

"Anki Server Error" - The Anki server is taking longer than expected to respond. Would yo ulike to enable offline mode (allows you to study flashcards while not connected to the internet) ?

This has been the error I've been getting for since 0.1.1. In different networks, wifi - speedtest.net on macbook shows 4014 kb/s DOWN, 772 kb/s UP - from Europe to Australia. Seems like his should be more than enough?!

 
At October 8, 2008 9:14 PM , Anonymous Anonymous said...

I have the same problem with the comment posted as below. Tried re-installing but it did not work. I hope the bug will be solved soon. Thanks!
--------------------
"I have the Anki 0.1.4. I was able to install it correctly. However when it first prompted me with the user name and login, I accidentally put in the incorrect log in. Now every time I run Anki, it tries to log in using that login, but cannot. So it gives me the option of working offline. But since I don't have any previous cards, there is a Fatal Error and the program shuts down. I would appreciate any help you can give me . Thanks!

August 30, 2008 10:53 AM"

 
At November 10, 2008 9:59 AM , Anonymous Anonymous said...

Hi there. Appreciate you efforts but I have the same login problem. I was wondering if you are close to a solution.

 
At November 11, 2008 4:41 AM , Anonymous Anonymous said...

Hello! I have similar problem with the login/password. Is there a workaround (where is the login name/password stored)? I had tried to uninstall/install but that can't seem to help. Thanks!

 

Post a Comment

Links to this post:

Create a Link

<< Home