Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  Flashcard Program for Lua
« previous next »
  • Print
Pages: [1]

Author Topic: Flashcard Program for Lua  (Read 1900 times)

Offline sbmull

  • Member
  • *
  • Posts: 1
Flashcard Program for Lua
« on: January 07, 2011, 10:59:34 AM »
I have written a basic flashcard program for LUA and  am attaching source code and an example data file.  I am using a Sansa Clip+ so YMMV.

It uses ANKI format text files which are tab delimited txt.  You may use UTF8 for the flashcard if you have your device set as such.

To use, save the files in the same directory and run.

Things I would like to add:

1. I would appreciate efforts to improve this app for the community and make it work on other devices.

2. If someone would tell me how to play vorbis files from LUA on a clip+, I might be able to implement playing the vocabulary words as they are displayed on the device.

3. If LUA/Rockbox supported SQLite, It might be possible to read native ANKI database with scheduling information.  This would facilitate programming of advanced flashcard scheduling for efficient learning.

4. A menu to select different databases.

Looking forward to feedback!

Post Merge: January 07, 2011, 11:07:17 AM
Quote from: sbmull on January 07, 2011, 10:59:34 AM
I have written a basic flashcard program for LUA and  am attaching source code and an example data file.  I am using a Sansa Clip+ so YMMV.

It uses ANKI format text files which are tab delimited txt.  You may use UTF8 for the flashcard if you have your device set as such.

To use, save the files in the same directory and run.

Things I would like to add:

1. I would appreciate efforts to improve this app for the community and make it work on other devices.

2. If someone would tell me how to play vorbis files from LUA on a clip+, I might be able to implement playing the vocabulary words as they are displayed on the device.

3. If LUA/Rockbox supported SQLite, It might be possible to read native ANKI database with scheduling information.  This would facilitate programming of advanced flashcard scheduling for efficient learning.

4. A menu to select different databases.

Looking forward to feedback!

Post Merge: January 07, 2011, 11:48:57 AM
A few screenshots to illustrate are in order.
* flashcards.lua.txt (2.11 kB - downloaded 153 times.)
* russian.txt (4.68 kB - downloaded 142 times.)

* screenshot1.PNG (29.02 kB, 211x357 - viewed 240 times.)

* screenshot2.PNG (28.83 kB, 211x357 - viewed 213 times.)
« Last Edit: January 07, 2011, 11:48:57 AM by sbmull »
Logged

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: Flashcard Program for Lua
« Reply #1 on: January 07, 2011, 12:05:39 PM »
Thank you for contributing. 

Please open a task on the patch tracker for this.  It will ensure that it doesn't get lost and will make it more likely to get attention from developers.  The forums are fine to discuss this but shouldn't be used instead of the tracker.
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  Flashcard Program for Lua
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.064 seconds with 15 queries.