Skip to content

Latest commit

 

History

History
79 lines (55 loc) · 2.4 KB

README.md

File metadata and controls

79 lines (55 loc) · 2.4 KB

AnyMemo Readme

What is AnyMemo

AnyMemo is a free open-sourced spaced repetition flashcard learning software similar to SuperMemo for Android mobile phones. It implements an advanced adaptive scheduling algorithm based on modified Mnemosyne algorithm (Enhanced SuperMemo SM2 algorithm) to maximize the learning efficient.

AnyMemo will help you learn various languages like Arabic, Chinese, English, German, Spanish, French, Japanese, Italian, Korean, Esperanto. Also you can learn histories, computer related topics, religion, life styles using AnyMemo too!

See detailed info at http://anymemo.org

Directory structure

  • app: The app source
  • gradle: The gradle wrapper
  • scripts: The scripts that automate some tasks

How to compile

AnyMemo is built using gradle. You need to make sure the following are installed in order to build:

In Android SDK tools' "Android SDK Manager", you need the following items:

  • Android 6.0 SDK platform
  • Android SDK tools
  • Andoird SDK Build-tools version 23
  • Android support repository
  • Android support library

Once the dependency is satisfied, you need to set the ANDROID_HOME environment variable to the Android SDK installation location. E. g.

$ export ANDROID_HOME=~/android-sdk-linux/

cd to the AnyMemo directory and Use gradle to compile the project

Move AMSecrets.java.template in src/org/liberty/android/fantastischmemo to AMSecrets. Provide the values to the fields in AMSecrets.java.

Them compile using gradle: $ cd anymemo $ ./gradlew assembleFreeDebug To build pro version, use $ ./gradlew assembleProDebug

The build artifacts are in build/apk/

Instrumentation tests

There are hundreds of intrumentation tests that ensure the basic funciton of AnyMemo. To run these tests against free version, you need to run: $ ./gradlew installFreeDebugTest $ ./gradlew connectedInstrumentTestFreeDebug

To run against pro version: $ ./gradlew installProDebugTest $ ./gradlew connectedInstrumentTestProDebug

Eclipse users

Sorry, the support of Eclipse ended since Google does not support it well.

Android studio user

It is easy! Install all the dependencies listed in the "How to compile" section and you can import directly into Android studio.