Changes between Version 30 and Version 31 of PySideForAndroid


Ignore:
Timestamp:
Feb 17, 2013, 11:32:14 PM (11 years ago)
Author:
Martin Kolman
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PySideForAndroid

    v30 v31  
    77* how to use the resulting libraries
    88* and how to bundle them with your Python program in a standalone APK
    9 '''NOTE:''' If you just wan't to run you Python & !PySide programs on Android, you can skip the ''Building !PySide'' section and go directly to [wiki:PySideForAndroid#PySideforAndroidexampleapplication PySide for Android example application] & [wiki:PySideForAndroid#ExampleprojectfortheNecessitasQtCreator Example project for the Necessitas Qt Creator]
     9'''NOTE:''' If you just want to run you Python & !PySide programs on Android, you can skip the ''Building !PySide'' section and go directly to [wiki:PySideForAndroid#PySideforAndroidexampleapplication PySide for Android example application] & [wiki:PySideForAndroid#ExampleprojectfortheNecessitasQtCreator Example project for the Necessitas Qt Creator]
    1010
    1111
     
    4949It first builds Shiboken, followed by !PySide. The script is fully automatic, but waits for the user to ''press any key'':
    5050* after Shiboken is configured for build
    51 * after Pyside is configured for build
     51* after PySide is configured for build
    5252Like this you can easily check for any errors during configuration.
    5353
     
    8888===== What the example application demonstrates =====
    8989* sending data to Python and back
    90  * the content of the entry fild is sent to Python, where it is painted on the !PySide image and returned to QML using !ImageProvider
    91  * the date is retrived in Python and shown in QML
     90 * the content of the entry field is sent to Python, where it is painted on the !PySide image and returned to QML using !ImageProvider
     91 * the date is retrieved in Python and shown in QML
    9292* working text entry with the Android virtual keyboard
    9393* working screen rotation
     
    108108
    109109For normal applications it should be possible to make the resulting APK much smaller by:
    110 * includding only the !PySide libraries that are actually used
     110* including only the !PySide libraries that are actually used
    111111* removing unused Python modules
    112 * cutting down the Qt Components theme from all grahics & icons that are not used
     112* cutting down the Qt Components theme from all graphics & icons that are not used
    113113
    114114=== Example project for the Necessitas Qt Creator ===
     
    116116
    117117==== Using the project ====
    118 Using the project to build your own project is very easy. Just install the [http://necessitas.kde.org/necessitas/necessitas_sdk_installer.php Necessitass SDK] and clone the example project from git:
     118Using the project to build your own project is very easy. Just install the [http://necessitas.kde.org/necessitas/necessitas_sdk_installer.php Necessitas SDK] and clone the example project from git:
    119119{{{
    120120git clone git://github.com/M4rtinK/android-pyside-example-project.git