This project demonstrates how an Android application can be built using the Refal programming language.
./rawdrawandroid: Project that allows building Android applications in C./Refal-05-Standalone: Standalone distribution of the Refal-05 compiler./refalrawdraw.c: Refal bindings for therawdrawandroidAPI./mvu.ref: Model-Update-View framework (Elm Architecture)./main.ref: Main application logic written in Refal
- Android SDK and NDK
makeadb(Android Debug Bridge)- Connected Android device or emulator
Refer to rawdrawandroid for more detailed guide.
Clone and initialize submodules:
git clone https://github.com/butvinm/Refal-Android
cd Refal-Android
git submodule update --init --recursiveGenerate application keys:
make keystoreBuild and upload the application to a connected device:
make push runInspect application logs:
# Clean logs
adb logcat -c
# Capture logs
adb logcat > logcat.log
# Grep linker errors
grep "librefal.so" logcat.logThis project would not be possible without Refal-05 and rawdrawandroid.
