Changes between Version 6 and Version 7 of PySideForAndroid


Ignore:
Timestamp:
Feb 16, 2013, 6:45:52 PM (11 years ago)
Author:
Martin Kolman
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PySideForAndroid

    v6 v7  
    7878===== What the example application demonstrates =====
    7979* sending data to Python and back
    80 -> the content of the entry fild is sent to Python,
    81 where it is painted on the PySide image and returned to QML using ImageProvider
    82 -> the date is retrived in Python and shown in QML
     80 * the content of the entry fild is sent to Python, where it is painted on the !PySide image and returned to QML using !ImageProvider
     81 * the date is retrived in Python and shown in QML
    8382* working text entry with the Android virtual keyboard
    8483* working screen rotation
    85 * correct Portrait/Landscape orientation switching
    86 -> in both normal & inverted orientations
    87 * working notifications (InfoBanner)
    88 * working ToolBar
     84* correct !Portrait/Landscape orientation switching
     85 * in both normal & inverted orientations
     86* working notifications (!InfoBanner)
     87* working !ToolBar
    8988* working Menu
    90 * "tools" menu with rotation & opacity sliders for the PySide image
     89* "tools" menu with rotation & opacity sliders for the !PySide image
    9190
    92 Size
    93 ====
     91===== Source code =====
     92Available from Github under BSD licence:[[BR]]
     93https://github.com/M4rtinK/expyside/tree/android
     94
     95===== Size of the APK =====
    9496The example APK has about 16 MB. This is because it needs to bundle quite a lot of
    9597libraries and related files. Big part of it is actually not used by the example in any way.
    9698
    9799For normal applications it should be possible to make the resulting APK much smaller by:
    98 * includding only the PySide libraries that are actually used
     100* includding only the !PySide libraries that are actually used
    99101* removing unused Python modules
    100102* cutting down the Qt Components theme from all grahics & icons that are not used
     103
     104=== Example project for the Necessitas Qt Creator ===
     105This project has been used to generate the above mentioned application example APK.
     106
     107==== Using the project ====
     108Using 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:
     109{{{
     110git clone git://github.com/M4rtinK/android-pyside-example-project.git
     111}}}
     112Then just open the ''!PySideExample.pro'' with the Necessitas Qt Creator.
     113
     114To generate a new APK, just click the green "deploy" button - Qt Creator should rebuild the the APK and deploy it either to the simulator or to any connected Android device that has debugging enabled.
     115
     116==== How does it work ? ====
     117
     118==== Modifying the projct ====
    101119
    102120== Links ==