Syntact is an App for learning languages that generates flashcards and organizes them into decks. These flashcards can be learnt and reviewed using a simple spaced repetition algorithm. The flashcards are generated using example sentences from https://www.linguee.com/.
- Kotlin
- Dagger 2 for Dependency Injection
- Android Architecture Components, such as Room Persistence Library, ViewModel, LiveData, Navigation
- Material Design
The App can be built using either Android Studio or the command line.
- Download Android Studio.
- Import Project
- Run app on a connected device or running emulator ().
- Clone the project to a folder of your liking.
- Download the command line tools and extract into a folder. For future reference, we call this folder
ANDROID_SDK_ROOT
. - Install the Android SDK via sdkmanager by running
sdkmanager "platforms;android-28"
. - Create a file in the project root called
local.properties
containingsdk.dir=PATH_TO_YOUR_ANDROID_SDK_ROOT
, for example:- Windows:
sdk.dir=C:\\Android\\ANDROID_SDK_ROOT
- Unix:
sdk.dir=/home/android/ANDROID_SDK_ROOT
- Windows:
- Run
gradlew build
. This will output two APKs:- app\build\outputs\apk\debug\app-debug.apk
- app\build\outputs\apk\release\app-release-unsigned.apk
- To install the debug-APK on your connected Android device or a running emulator, simply run
gradlew installDebug
. More information: Build and deploy an APK