Skip to content

Android port of KA Lite (an offline version of Khan Academy), encapsulating the Django project.

Notifications You must be signed in to change notification settings

b3b/ka-lite-android

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ka-lite-android

Android port of KA Lite (an offline version of Khan Academy), encapsulating the Django project.

Version info

This version is only for testing. Kivy and Python for Android is used to build Python powered apk.

Build Requirements

See Python for Android prerequisites.

Installed Python, Git, Apache Ant, Android SDK, and Android NDK are definitely needed.

You'll need to ensure you have the development headers for sqlite3 installed: sudo apt-get install libsqlite3-dev.

Build

To build the apk, run the ant with the folowing properties:

  • android-sdk - Path to the Android SDK (will ask if not set)
  • android-ndk - Path to the Android NDK (will ask if not set)
  • android-api - Android API version (default is 14)
  • android-ndkver - Android NDK version (default is r8c)

Command could look like this:

ant -Dandroid-sdk=/path/to/android/sdk -Dandroid-ndk=/path/to/android/ndk -Dandroid-api=14 -Dandroid-ndkver=r8c

Debug

Crashes can be observed with adb logcat.

Kivy logs are stored in /mnt/sdcard/org.kalite.test/.kivy/logs directory.

Run without building

To run ka-lite-android without building Android application:

  • install Kivy (see Kivy installation)
  • prepare KA Lite: ant ka-lite
  • launch ka-lite-android/main.py

About

Android port of KA Lite (an offline version of Khan Academy), encapsulating the Django project.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%