Changes between Version 26 and Version 27 of android


Ignore:
Timestamp:
Feb 5, 2013, 2:55:31 PM (11 years ago)
Author:
Martin Kolman
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • android

    v26 v27  
    1313=== Python ===
    1414Python is needed as modRana is written in Python.
    15 The [http://sourceforge.net/projects/pyside-android/files/data_python.tgz/download Python 2.6 binaries provided by THP] can be used. This archive also contains !PySide binaries.
    16 
    17 To be usable, the a ''/data/python'' folder needs to be created on the Android folder, and the ''bin'' and ''lib'' folders need to be copied inside it (this can be easily done with the ''adb push'' command when the device is connected & in debugging mode).
    18 
    19 Then according to the THP, the main Python binary needs to be made executable:
    20 
    21 {{{
    22 $ su
    23 # chmod 755 /data/python/bin/python
    24 }}}
     15The [http://android-python27.googlecode.com/hg/python-build-with-qt/PyDroid/android/res/raw/python_27.zip the binary Python 2.7 distribution provided by the android-python27 project] can be used. This archive also contains the !PyQt binaries.
     16
     17To be usable, the ''lib'' directory needs to be added to ''LD_LIBRARY_PATH'', the corresponding Python directories to ''PYTHONPATH'' and ''bin'' added to ''PATH''. The main ''python'' binary might also need to be set executable.
     18
     19'''NOTE:''' You can't launch graphical applications directly on Android as on Desktop or on Maemo. The application needs a launcher that properly loads the Qt libraries and sets-up the enveloping activity.
    2520
    2621==== Building Python for Android (android-python27) ====