Coder Social home page Coder Social logo

ankidroid / anki-android Goto Github PK

View Code? Open in Web Editor NEW
7.9K 156.0 2.1K 232.95 MB

AnkiDroid: Anki flashcards on Android. Your secret trick to achieve superhuman information retention.

License: GNU General Public License v3.0

HTML 2.01% CSS 0.05% JavaScript 0.36% Shell 0.98% Python 0.29% Awk 0.01% Kotlin 95.85% AIDL 0.02% TypeScript 0.42%
anki android ankidroid srs flashcards learning education hacktoberfest kotlin

anki-android's Introduction

release build Open Collective backers and sponsors commit-activity forks stars contributors license

AnkiDroid

A semi-official port of the open source Anki spaced repetition flashcard system to Android. Memorize anything with AnkiDroid!

Features

  • Night mode
  • Whiteboard
  • Progress widget
  • Detailed statistics
  • Syncing with AnkiWeb
  • Write answers (optional)
  • Text-to-speech integration
  • More than 6000 premade decks
  • Spaced repetition (supermemo 2 algorithm)
  • Supported contents: text, images, sounds, MathJax
  • Add cards by intent from other applications like dictionaries

Install

Wiki

View Wiki

Help

Check the user manual and the wiki for usage instructions. See the help page for how to submit a bug report or contact a project member, etc.

Contribute

You can contribute to AnkiDroid by beta testing, translating, or submitting code. See the contribution wiki page for more info.

Join Us On

Credits

Code Contributors

Thanks to these awesome code contributors who keep this project going

AnkiDroid Sponsors

A big thank you to each of our backers 🙏

Your generous donations mean the world to us, and we can't express our gratitude enough. Your support fuels our mission and helps us make a real difference

Donate to AnkiDroid

Thanks to our 1400 translators, for allowing us to be available, partially or totally, in 99 languages as of July 2022.

License

anki-android's People

Contributors

agrueneberg avatar akshay0701 avatar arnold2381 avatar arthur-milchior avatar brayandso avatar codingtosh avatar criticalay avatar dae avatar david-allison avatar dependabot-preview[bot] avatar dependabot[bot] avatar dorrin-sot avatar edu-zamora avatar flerda avatar hssm avatar iniju avatar krmanik avatar lukstbit avatar mandre avatar mikehardy avatar nicolas-raoul avatar nobnago avatar oakkitten avatar ospalh avatar oyeraghib avatar prince-kushwaha avatar shridhargoel avatar tarekkma avatar thedroiddiv avatar timrae avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

anki-android's Issues

Button focus

Originally reported on Google Code with ID 19

When I use the desktop Anki, reviewing usually means pressing
Space-Space-Space-Space-etc because Anki puts the focus on the button that
will most probably be pressed (which is "remembered" for us).

The advantage is that answering is much faster, which leads to a more
efficient use of the user's time. This is even more true for Android,
because touching a zone on the screen is nowhere as fast as pressing a
physical key. Especially in a crowded subway.

So I suggest putting the focus on "Remembered" automatically, and of course
on "Show answer" too. Users will just keep clicking their phone's central
button, and touch the screen just when they didn't remember.

Reported by nicolas.raoul on 2009-10-20 05:15:11

The application crashes when a deck without cards is loaded

Originally reported on Google Code with ID 26

If you try to load a deck without any card in Ankidroid the app is going to
crash. 

This Exception can be handled easily in order to avoid the crash, but then
I'm not sure what would be the most desirable behaviour: Should we show an
empty card? Should we show in addition a dialog to let know to the user
what happened?

If somebody has some idea, it would be great hear what you think about it
before I start implementing a solution.

Reported by edu.zasu on 2009-11-05 15:27:41

The application crashes after answering a card and quickly mounting the sd card

Originally reported on Google Code with ID 38

What steps will reproduce the problem?
1. Navigate to DeckPicker (Menu > Switch to another deck)
2. Select a deck with cards to review
3. Answer a card and quickly mount the sd card

When you answer the card a thread is launched to update and commit the
changes asynchronously and if the connection with the DB is lost while
doing it (like mounting the sd card) an Exception is thrown and the app
crashes.

12-07 13:38:07.442: ERROR/AndroidRuntime(3133): Uncaught handler: thread
AsyncTask #1 exiting due to uncaught exception
12-07 13:38:07.472: ERROR/AndroidRuntime(3133): java.lang.RuntimeException:
An error occured while executing doInBackground()
12-07 13:38:07.472: ERROR/AndroidRuntime(3133):     at
android.os.AsyncTask$3.done(AsyncTask.java:200)
12-07 13:38:07.472: ERROR/AndroidRuntime(3133):     at
java.util.concurrent.FutureTask$Sync.innerSetException(FutureTask.java:234)
12-07 13:38:07.472: ERROR/AndroidRuntime(3133):     at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:258)
12-07 13:38:07.472: ERROR/AndroidRuntime(3133):     at
java.util.concurrent.FutureTask.run(FutureTask.java:122)
12-07 13:38:07.472: ERROR/AndroidRuntime(3133):     at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:648)
12-07 13:38:07.472: ERROR/AndroidRuntime(3133):     at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:673)
12-07 13:38:07.472: ERROR/AndroidRuntime(3133):     at
java.lang.Thread.run(Thread.java:1058)
12-07 13:38:07.472: ERROR/AndroidRuntime(3133): Caused by:
java.lang.NullPointerException
12-07 13:38:07.472: ERROR/AndroidRuntime(3133):     at
com.ichi2.anki.Stats.toDB(Stats.java:207)
12-07 13:38:07.472: ERROR/AndroidRuntime(3133):     at
com.ichi2.anki.Stats.updateStats(Stats.java:241)
12-07 13:38:07.472: ERROR/AndroidRuntime(3133):     at
com.ichi2.anki.Stats.updateAllStats(Stats.java:218)
12-07 13:38:07.472: ERROR/AndroidRuntime(3133):     at
com.ichi2.anki.Deck.answerCard(Deck.java:776)
12-07 13:38:07.472: ERROR/AndroidRuntime(3133):     at
com.ichi2.anki.DeckTask.doInBackgroundAnswerCard(DeckTask.java:115)
12-07 13:38:07.472: ERROR/AndroidRuntime(3133):     at
com.ichi2.anki.DeckTask.doInBackground(DeckTask.java:66)
12-07 13:38:07.472: ERROR/AndroidRuntime(3133):     at
com.ichi2.anki.DeckTask.doInBackground(DeckTask.java:1)
12-07 13:38:07.472: ERROR/AndroidRuntime(3133):     at
android.os.AsyncTask$2.call(AsyncTask.java:185)
12-07 13:38:07.472: ERROR/AndroidRuntime(3133):     at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:256)
12-07 13:38:07.472: ERROR/AndroidRuntime(3133):     ... 4 more

What could we do about that? I think it's impossible to really finish the
commit so the options that I thought are:

- Show to the user a message informing him that the data could not be saved :(
- Use some structure or database like a backup and commit to the real deck
when the connection with the database is available again

Do you have any other idea?

Reported by edu.zasu on 2009-12-07 12:56:27

Sound in cards

Originally reported on Google Code with ID 5

Sound support

Reported by nicolas.raoul on 2009-07-05 05:13:12

Embed a sample deck

Originally reported on Google Code with ID 7

Embedding a sample deck would mean that random Market shoppers get a chance
to see what it's about, and realize that they REALLY need it.

This sample deck would be proposed when opening Anki, as an alternative to
using the browser to look for a deck.

This first page could look like this:

 * Sample
 * Deck found in SD root
 * Other deck found in SD root
 * Deck found in SD /sdcard/anki
 * Other deck found in SD /sdcard/anki
 * Browse for other decks on the SD card.

A sample should be something everybody knows at least a bit, so it can not
be a language or culture-specific thing.

Since spaced repetition is not implemented yet, it should not be too easy,
otherwise people will find it is boring and wasting their time.

I was thinking about a country-capital set of about 30 middle-sized
countries like Peru or Norway.

Of course, this deck should be internationalized together with the
software, because Peru might be written Pérou or 秘鲁 or پیرو in other
languages.

Anyone willing to write a small script to extract this as CSV from
Wikipedia (or DBpedia, easier, if you are not afraid by SPARQL) ?

Reported by nicolas.raoul on 2009-07-06 13:00:01

Design an alternative UI with the 'Show Question' button at the top

Originally reported on Google Code with ID 22

In the current UI, the 'Show Question' button is really near to the
'Remembered' and 'Not Remembered' buttons and it's really easy to click it
by accident while grading our answer.

A new UI design will be designed to see if it's more convenient in its
usage and more friendly and usable for the user of the application.


Reported by edu.zasu on 2009-10-29 08:30:19

Cloze cards do not display multiple hints correctly

Ankidroid seem to check for hint only on the first field, and keeps the same "status" to the next fields, even if they have (or don't).
Below I try to give some examples to reproduce the issue:

Example 1:

Should display second hint

Card Displays
{{c1::ção}} [...]
{{c1::ção::ção}} [...]

Inserted hint on first:

Card Displays
{{c1::ção::ção}} [ção]
{{c1::ção::ção}} [ção]

Example 2:

Card Displays
{{c1::without hint}} [...]
{{c1::with hint::hint}} [...]

Inserted hint on first:

Card Displays
{{c1::without hint::hint}} [hint]
{{c1::with hint::hint}} [hint]

Example 3:

Card Displays
{{c1::without hint::x}} [x]
{{c1::with hint::y}} [y]

REMOVED hint on second: (edited on ankidroid)

{{c1::without hint::x}}
{{c1::with hint}}

On edition, Freezes Ankidroid (NullPoninterException? see below ... )
Opening again, displays:

Card Displays
{{c1::without hint::x}} [x]
{{c1::with hint}} [null]

This 'null' it's not result from creating the card on ankidroid, creating on anki desktop something like {{c1:: x::x}} {{c1::y}} displays [x] [null] on akidroid

please consider changing to a development mode that does not involve creating merge commits

So, the events for me of today:

  • mild annoyance over some problems in the current stable ankidroid
  • realize there hasn't been a stable ankidroid release since 2.0.1 in february
  • check for the source and find out development has been ongoing
  • try beta feature of play store, url doesn't work after login, throws 404
  • try to look at the source to see if i can compile it myself and to read up on the changes done in development
  • search and finally find the tag of 2.0.1 to find out that development branches off on an earlier point and then devolves into absolute merge hell, making it impossible to actually read the change log in a sane manner
  • spend two hours to rebuild history with cherry-picking and releasing

I ended up with a history as you can see in: https://github.com/wchristian/Anki-Android
Screenshot: https://www.dropbox.com/s/nic6el1lzzvfhze/ankidroid.png

Not a single commit was changed in the rebase/cherry-pick process, they smoothly fit onto one another in a linear fashion. Aside from a single commit where the git algorithm made a mistake i didn't even have any conflicts.

I cleaned the entire history going back to the point where current dev and 2.0.1 diverged, all in the space of two hours. The cost of implemeting this in actual ongoing development would be minimal, as it would be only a case of rebasing/cherry-picking the branches github reports as clean for merge.

Additionally i'd happily volunteer to do the busywork and offer aid in helping others over any issues they might have with this.

What do you say?

Add facts: question, answers

Originally reported on Google Code with ID 16

Provide an interface to add and save new facts.

Reported by daisystanton on 2009-10-04 16:03:48

SRS: Can't find next card with low intervals

Originally reported on Google Code with ID 36

I've been testing Ankidroid with a low interval deck, because I figured
that might be a good way to discover errors in the srs algorithm.

And, I've found one. 

Starting with a deck of all new cards with the following settings:
* Show new cards in order added
* Show new cards after all other cards
* Review cards in order due
* Young & Mature interval set to 0.0166666666667
* Show failed cards early

If you fail the first several cards, you'll get stuck in a cycle where no
new cards will be show.


How to Reproduce, use the attached deck

Open Deck: test_card_order_fast.anki in Anki and AnkiDroid

Follow this answering pattern
(Card:Give this answer)
France:1
Peru:1
France:2
Peru:2
France:2
Peru:2
--- Ankidroid Cannot find another card at this point
Colombia  <-- Anki Desktop shows this card


Reported by unnamedrambler on 2009-12-04 13:21:47


- _Attachment: [test_card_order_fast.anki](https://storage.googleapis.com/google-code-attachments/ankidroid/issue-36/comment-0/test_card_order_fast.anki)_

Add Images from Inside AnkiDroid

Hello,

I know this is a quite old request, but as you moved to github I'm not sure if you still use the Google Code Issues and wishes.

It would be great seeing a possibility to add Pictures to the cards directly from the app. I really depend on this feature because I have to study a lot of diagrams and complicated formulas which I have in my Books (Paper or PDF).

My current Workflow isn't very nice.

  1. Take a picture with phone
  2. Automatic Sync picture with Dropbox
  3. Put Picture on Flashcard in Windows Anki Client
  4. Sync Windows and Android Client

I like doing my cards on the go, so this is not very practical. If this feature would exist I could say goodbye to the Windows Anki Client and switch 100% to Mobile, where I think Flashcard apps have it's most potential.

On Google Code there were 2 Requests for this (Both from 2011)
https://code.google.com/p/ankidroid/issues/detail?id=911&sort=-stars%20priority&colspec=ID%20Type%20Priority%20Status%20Milestone%20Owner%20Summary%20Stars
https://code.google.com/p/ankidroid/issues/detail?id=911&sort=-stars%20priority&colspec=ID%20Type%20Priority%20Status%20Milestone%20Owner%20Summary%20Stars

As I see a lot of Apps using the Camera, I cant imagine it would be very complicated to implement this (as the App already displays the Pictures inserted from the Desktop Client).... but as I am no Android developer I have no idea :)

Thank you
Jonathan

Some HTML tags introduced by Anki Desktop are not displayed correctly

Originally reported on Google Code with ID 27

I'm using my decks generated by Anki Desktop and the WebView used in
Ankidroid does not display correctly formatted all text (for example, the
bold letter).

I want to investigate why this happens, maybe not all HTML tags are
supported in Android. In that case, maybe the text in the card has to be
parsed and change the tags that don't work for others that do.


Reported by edu.zasu on 2009-11-09 16:20:32

Screenshots for Market

Originally reported on Google Code with ID 14

Any artist willing to take Ankidroid screenshots for the Market?
Here is what the market allows:

2 Screenshots:
320w x 480h
24 bit PNG or JPEG (no alpha)
Full bleed, no border in art

1 Promo Graphic:
180w x 120h
24 bit PNG or JPEG (no alpha)
Full bleed, no border in art 

Note: Screenshots are visible only on the market.android.com website at
this time and will not show on the device. 

Reported by nicolas.raoul on 2009-09-08 11:06:28

The application crashes when there is no sd card attached

Originally reported on Google Code with ID 21

What steps will reproduce the problem?
1. Launch the application (either in a device or the emulator) without an
sd card attached to it

If you follow this step, the application will crash. I am not sure which
has to be the expected behaviour (Can we save decks on the device, not in
the sd card?) but one solution would be show a friendly user to the user
informing that the sd card is not attached.

What do you think, guys?




Reported by edu.zasu on 2009-10-23 11:00:22

deck order

Originally reported on Google Code with ID 33

Is it possible to load cards from the deck in their original order instead of in random
on the 
first time it is opened? If the deck has 2000 odd entries, it is useless to start on
the 500th 
card when you may not be up to there yet. Need an option to load cards in order or
shuffle. 
Untilled that is there I can't use ankidroid. I have had it on my phone for some time
and it is 
useless as is to study kanji. Is this built on the assumption that the entire deck
has been 
previously studied? What happens whenever the information being studied is new? 
Especially with kanji,  it needs to go in order at first view, ads should start after
the card has 
been learnt, then it becomes a review. Perhaps a learn mode and a review mode would
be 
a good way. If this feature is there the apparently would be 1000x more useable, because
its 
useless to me to srs cards which are ahead of my level and yet to be studied.


Reported by DJohnston404 on 2009-11-20 00:51:08

Skip suspended cards

Originally reported on Google Code with ID 10

Right now suspended cards appear too.

Development hint:
I guess suspended cards are those tagged as "Suspended".

Reported by nicolas.raoul on 2009-08-18 05:41:07

Currently loaded card reloads when screen changes orientation

Originally reported on Google Code with ID 18

What steps will reproduce the problem?
1. Start Ankidroid on your phone and let it load up a new card.
2. Tip your phone over to have it change orientation.
3. The "Loading deck. Please wait..." dialog appears and there is a long delay until
the new 
card appears.

Since Android restarts the activity on a configuration change like this, it will also
trigger a 
reopen of the database and a reload of the card to show. This is unnecessarily slow
in my 
opinion. Saving the card and just reload the layout should be enough.

Reported by daniel.svard on 2009-10-05 06:48:34

Daily Schedule

Originally reported on Google Code with ID 29

I would like to see a feature similar to the PC version where I am able to 
schedule a set amount of new cards per day and known cards are remembered. 
This is vital to my use of memorizing the Heisig deck. Currently, I am 
forced to make my own custom decks each day so that I can add a set amount 
steadily.

Reported by odegardjg on 2009-11-12 16:06:04

Font size

Originally reported on Google Code with ID 12

Retaan wrote:

I think Anki Android needs some way to customize the font size. I have
some flashcards where the answers are several sentences long. That may
not be the standard use but I suspect a substantial number of users
have flashcards like that. Then the very large font size lowers
readability. So either a setting for fontsize (different for Q & A) OR
some automatic font resizing based on text lenght (maybe the user
could set the upper/lower font size limit in that case).

Reported by nicolas.raoul on 2009-08-22 16:06:09

SQLlite is not in ASE yet

Originally reported on Google Code with ID 6


I spent some time today trying to get ankimini working (with libanki
of course) in ASE. All went well until I discovered that ASE's python
doesn't have the sqlite module compiled (http://code.google.com/p/
android-scripting/issues/detail?id=52&q=sqlite)


Reported by unnamedrambler on 2009-07-05 08:09:17

Phone time and syncing:

I noticed that whenever my Android time wasn't automatically synced with the network then:
a) No cards appeared ready for reviews in my deck.
b) Syncing with server failed.

All was fixed by setting the Android time in sync again.

No sure if this is known already but I thought I'd flag it in case someone else has this problem.

Open list not user friendly

Originally reported on Google Code with ID 3

The open list is not very user friendly. Moving to directories doesn't
scroll it up, and it appears to have problems moving out of symlinked
directories.

Reported by nicolas.raoul on 2009-07-05 04:34:12

Show last selected deck directly

Originally reported on Google Code with ID 11

I think that Android users don't stand for long times doing reviews, they
rather review 3 minutes during breakfast, then 2 minutes while walking,
then 5 minutes in the train, etc.

So we should not bother them with choosing the deck every time they launch
Ankidroid. I think Ankidroid should directly open the last selected deck
(if it exists). The open dialog would still be available by pressing on the
"Menu" key.

What do you think about it?

Cheers,
Nicolas Raoul.

Reported by nicolas.raoul on 2009-08-20 09:41:11

Add option to mute

It would like to aks you to add an option to mute the app completly. At the moment, sounds are played even if the phone is muted.
So it would be great to have an option to ether mute the app completly, or to mute the app acording to the state of the phone.

deck order

Originally reported on Google Code with ID 31

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?


Please provide any additional information below.


Reported by DJohnston404 on 2009-11-20 00:36:58

Localization

Originally reported on Google Code with ID 35

Android has great localization support.

We should re-factor all our strings into the xml resources, so translators
can eventually translate anki droid.

Reported by unnamedrambler on 2009-11-21 10:04:37

Image support

Originally reported on Google Code with ID 4

Image support

Reported by nicolas.raoul on 2009-07-05 05:12:21

Furigana - Ruby

Originally reported on Google Code with ID 13

When the answer contains brakets, display them as furigana (just like Anki
does).

Reported by nicolas.raoul on 2009-09-07 04:53:41

Deck Picker crashes when exists a file ending with .anki that it's not a real anki file

Originally reported on Google Code with ID 24

I noticed this bug when I was trying to test if Deck Picker would be able
to handle a huge number of decks, so I copied all decks on my Anki decks
folder on my computer to my phone. 

Then, the Deck Picker crashed every time, but investigating a little I
discovered it was due a file named "._AC.anki" not because there were so
many decks. I supposed this deck it's a kind of temporary file Anki Desktop
made for one of my real decks.

For the user it could be kind of disturbing and annoying if he cannot open
the Deck Picker because of some hidden file he copied even without being
aware of it. The solution would be try to open all the files ending with
.anki but only show the ones that are real anki files (that is to say,
handling the SQLExceptions correctly). 


Reported by edu.zasu on 2009-11-03 11:14:08

The application crashes when sd card is turned off in DeckPicker

Originally reported on Google Code with ID 37

What steps will reproduce the problem?
1. Navigate to DeckPicker (Menu > Switch to another deck)
2. Mount the sd card
3. Turn off usb storage

(Steps 1 and 2 are interchangeable)

At this point the application will crash with the next Stack Trace:
12-07 10:22:47.942: ERROR/AndroidRuntime(1568): Uncaught handler: thread
AsyncTask #1 exiting due to uncaught exception
12-07 10:22:48.192: ERROR/AndroidRuntime(1568): java.lang.RuntimeException:
An error occured while executing doInBackground()
12-07 10:22:48.192: ERROR/AndroidRuntime(1568):     at
android.os.AsyncTask$3.done(AsyncTask.java:200)
12-07 10:22:48.192: ERROR/AndroidRuntime(1568):     at
java.util.concurrent.FutureTask$Sync.innerSetException(FutureTask.java:234)
12-07 10:22:48.192: ERROR/AndroidRuntime(1568):     at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:258)
12-07 10:22:48.192: ERROR/AndroidRuntime(1568):     at
java.util.concurrent.FutureTask.run(FutureTask.java:122)
12-07 10:22:48.192: ERROR/AndroidRuntime(1568):     at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:648)
12-07 10:22:48.192: ERROR/AndroidRuntime(1568):     at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:673)
12-07 10:22:48.192: ERROR/AndroidRuntime(1568):     at
java.lang.Thread.run(Thread.java:1058)
12-07 10:22:48.192: ERROR/AndroidRuntime(1568): Caused by:
java.lang.NullPointerException
12-07 10:22:48.192: ERROR/AndroidRuntime(1568):     at
com.ichi2.anki.Deck.checkDue(Deck.java:999)
12-07 10:22:48.192: ERROR/AndroidRuntime(1568):     at
com.ichi2.anki.Deck.rebuildQueue(Deck.java:1022)
12-07 10:22:48.192: ERROR/AndroidRuntime(1568):     at
com.ichi2.anki.Deck.openDeck(Deck.java:278)
12-07 10:22:48.192: ERROR/AndroidRuntime(1568):     at
com.ichi2.anki.DeckTask.doInBackgroundLoadDeck(DeckTask.java:132)
12-07 10:22:48.192: ERROR/AndroidRuntime(1568):     at
com.ichi2.anki.DeckTask.doInBackground(DeckTask.java:64)
12-07 10:22:48.192: ERROR/AndroidRuntime(1568):     at
com.ichi2.anki.DeckTask.doInBackground(DeckTask.java:1)
12-07 10:22:48.192: ERROR/AndroidRuntime(1568):     at
android.os.AsyncTask$2.call(AsyncTask.java:185)
12-07 10:22:48.192: ERROR/AndroidRuntime(1568):     at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:256)

At this moment I still don't know why is that, but I'll keep investigating!


Reported by edu.zasu on 2009-12-07 09:31:38

Burying a learning card makes it appear as a new card

What steps will reproduce the problem?

  1. When a new card appears, click 10 minutes.
  2. The next time it appears, bury it.

What is the expected output? What do you see instead?
When it is time for another new card, the buried card reappears with the left-most column underlined, i.e. it is again shown as a 'new' card. At this point, one can sync with Ankiweb and then open in desktop the Information (Ctrl-Shift-I) for the card, where the history of clicking '10 minutes' is shown.

Does it happen again every time you repeat the steps above? Or did it
happen only one time?
Yes, the bug is completely reproducible.

What version of AnkiDroid are you using? (Decks list > menu > About > Look
at the title)?
2.0.2 beta 6

On what version of Android? (Home screen > menu > About phone > Android
version)
2.1

To get another 'new' card to appear, I used "Custom Study -> Increase today's new card limit". I'm not sure if the bug is reproducible with 'natural' new cards.

deck order

Originally reported on Google Code with ID 32

Is it possible to load cards from the deck in their original order instead of in random
on the 
first time it is opened? If the deck has 2000 odd entries, it is useless to start on
the 500th 
card when you may not be up to there yet. Need an option to load cards in order or
shuffle. 
Untilled that is there I can't use ankidroid. I have had it on my phone for some time
and it is 
useless as is to study kanji. Is this built on the assumption that the entire deck
has been 
previously studied? What happens whenever the information being studied is new? 
Especially with kanji,  it needs to go in order at first view, ads should start after
the card has 
been learnt, then it becomes a review. Perhaps a learn mode and a review mode would
be 
a good way. If this feature is there the apparently would be 1000x more useable, because
its 
useless to me to srs cards which are ahead of my level and yet to be studied.


Reported by DJohnston404 on 2009-11-20 00:50:14

Allow users to configure the URL of the sync server

There is a personal Anki sync server available from here:

https://github.com/dsnopek/anki-sync-server

Users of the Anki desktop app can sync against it instead of AnkiWeb by creating a special add-on. However, AnkiDroid has the URL for AnkiWeb hardcoded!

It'd be great to allow users to configure the URL of the sync server that they wish to use. There's already an issue for this on Google Code, but it was been marked as "WontFix":

http://code.google.com/p/ankidroid/issues/detail?id=154

I'd like to re-open this discussion is possible. :-)

I've been running a personal sync server based on this code on Bibliobird.com for almost 3 years (will be in December) and I've deployed it for client projects as well. The code's not perfect but it definitely works enough to be useful for many people!

I'd be happy to help with code too, so long as I can get a little direction on where the maintainers think this should be in the application and if they'd even consider merging this feature.

Thanks!

Software update system

Originally reported on Google Code with ID 28

It would be great to have a system to notify our users when a new version
of Ankidroid is released to Android Market, because sometimes can be
difficult to let know them in other ways and we want users to have and
enjoy the last improvements.

The general method is explained here:
http://developer.android.com/guide/publishing/publishing.html


Reported by edu.zasu on 2009-11-10 11:07:51

Edit facts: question, answers

Originally reported on Google Code with ID 9

It would be nice if Ankidroid allowed the user to add new facts.

Reported by nicolas.raoul on 2009-08-17 14:48:05

Ankidroid shows nothing after trying to run some .anki decks

Originally reported on Google Code with ID 8

What steps will reproduce the problem?

1. I installed Ankidroid
2. Then I downloaded "Japanese Kana.anki" and "All Kanji for JLPT 1.anki" 
using the desktop Anki.
3. I was not sure where to find those downloaded .anki files then, but I 
found them in C:\Documents and Settings\user\Application Data\.anki\backups
4. I copied them to SD card to directory ../anki/ and changed names, 
because in backups directory they were named like "E!username!Japanese 
Kana.backup-1.anki"
5. After that I started Ankidroid - it could find and open those .anki 
files with no errors.

What is the expected output?

As I understand it should show something.

What do you see instead?

Just white screen with Show answer/Next button, timer and Whiteboard Off/
On button. I can press Show answer/Next button - nothing changes (although 
it might switch something internally, but nothing is shown). Whiteboard 
works OK - I can enable it and write something on the whitescreen.

What version of the product are you using? On what operating system?

Ankidroid 0.1 installed from Android Market. Phone is standard HT-03A from 
NTT, firmware 1.5, kernel 2.6.27-00393-g6607056, build CDB72.

Please provide any additional information below.

I didn't actually try anything yet, I suspect that maybe I copied 
wrong .anki files (maybe backup ones are different somehow) - but there is 
no information about how to do it:

http://ichi2.net/anki/wiki/AndroidAnki
http://ichi2.net/anki/download/index.html

Thanks!

Reported by alexei.anisimov on 2009-08-07 02:56:31

Relative font size maximum value in settings too low

Please consider adjusting the maximum value of the relative font size slider. With the standard maximum size, some chinese characters appear really small on my tablet.

The relevant entry is in preferences.xml under

<com.hlidskialf.android.preference.SeekBarPreference
android:defaultValue="100"
android:key="relativeDisplayFontSize"
android:max="1000" <--- should be changed here
...

(Request) Text-field to write the answer

Originally reported on Google Code with ID 30

Please provide any additional information below.
It would be really useful to have a text field just below the question to be 
able to write it your answer and then, once click "Show answer", obtain a 
comparison of what you wrote against the correct answer.

Reported by jordi.chacon on 2009-11-17 10:22:40

Ankidroid gestures don't advance to next card

When performing a gesture for answer button 3, the next card shown is again the current card. In other words, when performing a gesture for answer button 3, the card is not advanced.

I have checked using the two gestures 'slide right' and 'slide down' for button 3, both were affected. However, other button gestures are not affected, such as double tap (mapped to button 2) or slide up (mapped to button 1).

The issue started in one of the 2.0.3 betas and continues in the 2.0.4 release version.

B&N Nook SimpleTouch, rooted running Android 2.1.

Support all fact models in database

Originally reported on Google Code with ID 17

Currently only the "question and answer" model is supported in Ankidroid.  We 
should read in and format cards from all database models.

I'll be fixing this as part of card editing.

Reported by daisystanton on 2009-10-04 16:05:43

card order, learn mode vs review mode

Originally reported on Google Code with ID 34

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?


Please provide any additional information below.

Is it possible to load cards from the deck in their original order instead of in random
on the 
first time it is opened? If the deck has 2000 odd entries, it is useless to start on
the 500th 
card when you may not be up to there yet. Need an option to load cards in order or
shuffle. 
Untilled that is there I can't use ankidroid. I have had it on my phone for some time
and it is 
useless as is to study kanji. Is this built on the assumption that the entire deck
has been 
previously studied? What happens whenever the information being studied is new? 
Especially with kanji,  it needs to go in order at first view, ads should start after
the card has 
been learnt, then it becomes a review. Perhaps a learn mode and a review mode would
be 
a good way. If this feature is there the apparently would be 1000x more useable, because
its 
useless to me to srs cards which are ahead of my level and yet to be studied.


Reported by DJohnston404 on 2009-11-20 00:53:57

Deck Picker doesn't show all the decks on the sd card

Originally reported on Google Code with ID 25

I was testing the Deck Picker and I don't know why it didn't show two of my
decks... I'm going to investigate this in more detail and I'll tell you
something, guys.




Reported by edu.zasu on 2009-11-03 12:03:41

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.