0
0
mirror of https://github.com/ankidroid/Anki-Android.git synced 2024-09-20 12:02:16 +02:00
Commit Graph

40 Commits

Author SHA1 Message Date
Nicolas Raoul
d42072b169 Merge branch 'master' of git://github.com/daniel-svard/Anki-Android 2010-02-23 13:46:24 +09:00
Nicolas Raoul
cd49082477 Changed answer labels to again/hard/good/easy. It is more understandable for beginners, but it is dirtily hard-coded until someone implements what is described here: http://groups.google.com/group/anki-android/browse_thread/thread/19305b70c3d5eb84 . And i18n would be nice too. 2010-02-22 21:31:52 +09:00
Daniel Svärd
5e98e0cfd9 Remove unused spaced repetition preference 2010-02-21 01:06:05 +01:00
Nicolas Raoul
3f6965cabe I got this file by email from Brennan, it should fix the card editor 2010-02-18 15:07:36 +09:00
Nicolas Raoul
42dcd40841 The code was not compiling anymore. I modified it so that it compiles, but card edition is probably broken somehow. Please somehow check card_editor.xml 2010-02-18 14:20:23 +09:00
brennan-daguilar
201d6040eb Added basic support for editing cards.
- New CardEditor Activity created
- Deck, DeckTask, and Ankidroid modified to handle opening the card in the editor, saving changes to the database, and redisplaying updated card.

- TODO: add support for adding new card.
	- Create a new card in the deck,
	- Edit the new card as if it were an existing card.
2010-02-14 01:35:45 -05:00
Daniel Svärd
4b753460a6 Fix for issue #46
Zero session time limit now interpreted as infinite time limit.
2010-02-02 20:39:05 +08:00
Edu Zamora
f432e5911d Fixed bugs on deck_preferences.xml and preferences.xml (the xml header had to be on top in order to compile), bugs regarding the visibility of some elements (the EditText to write the answer and the Whiteboard/Timer were shown coming back from Preferences, when there was no more cards) and crashes when there was no deck loaded on DeckPicker and DeckPreferences. Also, right now Study Options is only enabled on the menu when a deck is loaded. 2009-12-06 18:59:54 +01:00
Casey Link
0ff08588a1 Update License headers based with names/emails on git blame.
Also removed trailing whitespace.
2009-12-06 01:36:36 -05:00
edu-zamora
1f137bf9c6 Srs branch merged into master. 2009-12-05 22:54:13 +01:00
Edu Zamora
cc0e9f68a7 Veecheck 2.0 library integrated and minor modifications (function intentToString in PrefState.java) to make it work like we expected (Veecheck is a library that allows us to check automatically for new updates and notify the user about them) 2009-12-01 18:54:40 +01:00
edu-zamora
3048d88935 Update Notification System implemented: The user can choose in Preferences if he wants to be notified when an update of Ankidroid is released. If the notifications are activated, when a new version of Ankidroid is out and the user opens the app an informative dialog asks the user if he wants to upgrade to the new version. If his answer is affirmative, he is directly taken to the Ankidroid download page on Android Market. 2009-11-25 12:57:21 +01:00
edu-zamora
96244b81e8 Merge branch 'master' of git://github.com/Ramblurr/Anki-Android 2009-11-24 14:38:36 +01:00
Casey Link
e762927d23 Add default license header to all the files. PLEASE, authors, add your copyrights to the files you have edited. 2009-11-24 08:30:05 -05:00
jordi-chacon
cd40f6d3f1 Solved a bug introduced before about the content. Answer field won't expand itself more than two lines. Max and min size are now lower than before. Also the string with the answer of the user may content newlines, and now these are replaced by <br> so that they can be matched against the <br> of the correct answer. The bad part of this is that sometimes, if the amount of newlines don't match, some <br> can be shown as plain text. We'll have to figure out how to solve this, but not now :) 2009-11-22 23:34:09 +01:00
jordi-chacon
8a7263cf17 Adding write answer field 2009-11-22 10:47:57 +01:00
Casey Link
853403cd00 Deck Preferences: Add preferences to change the Review order, and Spacing options. 2009-11-21 05:42:06 -05:00
Casey Link
8f26dda080 Add DeckPreferences (aka, Study Options). This activity allows for the editing of the currently loaded Deck's Settings. 2009-11-20 09:52:12 -05:00
Daniel Svärd
554419d471 SRS integrated in the UI
The SRS algorithm is now used in the UI to show and space cards in a
similar fashion as the desktop application does.
2009-11-11 22:12:44 +01:00
edu-zamora
2c434c1344 Fixed the crash when trying to load an empty deck. Right now, if an empty deck is loaded an informative message is shown to the user. 2009-11-06 18:40:03 +01:00
edu-zamora
e2903b9df8 Added message informing the user when there is no deck loaded, removed the title bar from Ankidroid Activity from Manifest, fixed some minor bugs and cleaned and reorganized the code. 2009-11-06 17:45:32 +01:00
edu-zamora
376d9b6a56 Fixed minor bug where the controls were shown when they had not to be shown and cleaning of the code. 2009-11-05 19:59:34 +01:00
edu-zamora
fddf1f8683 Fixed all the crashes caused by starting the app without any selected deck and with the option 'Sample deck' deselected. It also has been implemented the DeckPicker's title change when sd card is unmounted and the correct display in both orientations of the message informing the user about the sd card being unavailable. 2009-11-05 14:10:52 +01:00
edu-zamora
6272c63c0d Complete handling of the events of sd card implemented. There is still some bugs regarding with using the app with any deck selected and the "Deck sample" option off. 2009-11-05 12:04:20 +01:00
edu-zamora
70629e4075 Implemented the focus behaviour between buttons. 2009-10-28 14:22:09 +01:00
edu-zamora
f644fb37bc Easy toggle between front and back card implemented and fixed a minor bug involving the whiteboard. Implemented the Whiteboard's behaviour: right now, you only can write on it the first time you see the question of a fact 2009-10-08 16:41:59 +02:00
Daniel Svärd
3b291a4c22 Moved UI strings for deck picker to resources
Moved all the UI strings for the deck picker screen into strings.xml so
that they can be changed easily and to enable future translation.
2009-10-04 18:47:18 +02:00
Daniel Svärd
0ac45dea30 Progress spinners
Adds a small progress spinner to the right of each deck in the deck
picker while its counts are loading. Purely cosmetic.
2009-10-02 16:45:00 +02:00
Daniel Svärd
bb43b8489c Deck picker screen with updated due and new counts
Non-cached version of the counts for new and due cards for each deck
listed in the deck picker. Ported quite a bit of python code from
libanki to make it happen (ie. there are probably bugs).

tagIds() in Deck.java is only declared, but
not implemented since it will not be called from the current code. However
it needs implementation for possible future calls to it.
2009-09-30 23:21:44 +02:00
Daniel Svärd
010c4343ac Merge remote branch 'upstream/master'
Conflicts:
	res/layout/preferences.xml
2009-09-25 17:04:06 +02:00
nicolas-raoul
172a95ca9b Fixed typo, replaced outdated README with link to Wiki, bumped version code and version name as I published the app to the Android Market 2009-09-25 21:36:00 +09:00
Daniel Svärd
ad0093a0da Improved deck picker screen
Redesigned deck picker that gets rid of the filesystem browser. The path
to the folder in which the decks are stored are set in the preferences.
The picker screen then shows a list of all the decks.

Deck.java contains a new class to represent the top level object in the
database, the deck. It is nowhere near finished, but is supposed to
contain the functionality of the Deck class in libanki.

No new data is written to the database. Read data (due cards etc.) is
cached and might be out of date.
2009-09-23 08:03:39 +02:00
nicolas-raoul
c198668831 Made Spaced Repetition optional, checkbox in preferences. Fixed crash when generating sample deck while no SD card is present. 2009-09-08 18:33:20 +09:00
nicolas-raoul
f2fdd1104e Finished preferences, now remember the deck from last time, added About box 2009-08-28 22:02:45 +09:00
nicolas-raoul
e6ba3f6022 Integrated sample preferences dialog found at www.kaloer.com/android-preferences 2009-08-28 20:02:37 +09:00
nicolas-raoul
935bb2e788 Moved Whiteboard to its own class to make FlashCard.java more understandable 2009-08-25 19:12:20 +09:00
nicolas-raoul
47c5a7b818 Very basic but working version of the spaced repetition feature 2009-08-21 19:01:47 +09:00
nicolas-raoul
0284a44cf2 Started to implement spaced repetition, work in progress 2009-08-18 20:30:55 +09:00
nico
7f858dec66 Removed generated R.java; modified some settings required by Market; added filtering Java code so that deck selector only shows deck files 2009-06-28 18:04:10 +09:00
Casey Link
58f719fe10 initial import 2009-06-03 10:56:54 -04:00