wiki:PyOtherSideForAndroid

Version 7 (modified by Martin Kolman, 10 years ago) (diff)

--

PyOtherSide for Android

This article describes current progress towards being able to run applications using Python 3 & QtQuick 2.0 using the PyOtherSide Python <-> QtQuick bindings.

Current Status

  • Qt 5 & QtQuick 2.0 - available & working
  • Python 3 (3.2) - available & working
  • PyOtherSide - WiP
    • compilation - working
    • basic deployment - working
    • using PyOtherSide without crashing - not yet working
  • standalone APK package - doable, not yet working

PyOtherSide

Setting up

This are the version of software versions I have used for my experiments, it is possible other versions might also work, but this is what I have worked with.

Get PyOtherSide 1.3 source code

wget https://thp.io/2011/pyotherside/pyotherside-1.3.0.tar.gz

Get & install the Qt 5.3 Android SDK

Basically just follow the guide on the Qt wiki to get the Qt 5 Android SDK & it's dependencies installed.

Configure an Android device to be accessible by ADB I've tested the resulting software on my HP TouchPad? running Cyanogenmod Android 4.0, accessible with ADB. So this 'guide/howto' expect that you also have an Android device accessible over ADB. The Android emulator might also work, but I haven't tried that.

Compiling for Android

Preparing the PyOtherSide? project

Unpack the PyOtherSide tarball into a directory:

tar -xvf pyotherside-1.3.0.tar.gz

Basic deployment

Running a "hello world" program