wiki:android

Version 2 (modified by Martin Kolman, 12 years ago) (diff)

--

Porting modRana to Android

As there is currently no GTK port for Android and not even any project trying to do this, only the QML GUI is relevant for running modRana on Android.

Prerequisites

Python

Qt + QML

PySide

PySide Launcher

Qt Components

Updated Prerequisites

Python

As modRana and Mieru run just fine with Python 2.5, Python version is really not a limiting factor. Any Python version that compiles on Android and is compatible with other prerequisites will do.

Qt + QML

The currently used Necessitas Qt version (0.2 -> Alpha 2) is outdated and causes quite a few issues - most being, that all text is rendered as rectangles, unless it is set to be itallic.

As a result, it should be a priority to start using the Necessitas Alpha 3 (0.34+-) as soon as possible.

To do this, the following is needed:

  • a Python distribution compiled for Android
  • compiling PySide against this Python version & the Necessitas Qt
  • an updated PySide Launcher that uses Ministro II (which provides the Alpha 3 libraries)

PySide

At least version 1.0.5 should be used, as this is the version that is running Fremantle CSSU, without any issues. Some older version on vanilla PR 1.3 Fremantle is known to cause issues, namely with multiple decorators for a single method.

Qt Components