Java rework - what needs to be done

Robert Schuster r.schuster at tarent.de
Thu Jul 21 15:31:38 CEST 2011


Hi,
this is a mail describing the necessary changes for the Java part rework
that I am currently doing.

I am in the middle of porting the current way of how and application
starts to the new way with a Loader and a Bridge. This process will take
a bit because of the new design a lot of things can be simplified and
one needs to see whether we want to give the person with acces to the
App sourcecode that much control and stuff.

Nevertheless for everything to work at some point we need Java and Dex
compilation support in android-qt. All my changes are living in the
'rschuster-javarework' branch for now.

If you look at the src/android folder you see a few subfolders. There is
'app' for the App starter code. The stuff that needs to be copied into
every android-qt app. This part is more or less finished.

There is 'loader' which consists of the thing that implements the real
Activity. To which the app delegates all its calls. This one is under
heavy development and the code needs to be compiled into an APK during
the compilation of android-qt.

There is the 'bridge' folder which contains the Java classes which
interact with the Qt libraries. This code also needs to be compiled into
an APK. I have not yet looked at this code but some minor changes are
also needed.

I think that for our first generation Loader I am following the example
in the PoC and implement it in a way that the App developer will have
almost zero control over it. Later in a 2nd generation we can gradually
and slowly give more and more control back to the app.

I still need to think a bit longer of how we handle different Android
versions in the App and Loader code. Theoretically we can compile the
Loader and Bridge for each Android version we want and let it have more
or less features dynamically.

So if you want to help me I need the support for compiling Java sources
into APKs in android-qt.

Regards,
Robert

-- 
tarent solutions GmbH
Thiemannstr. 36 a, D-12059 Berlin • http://www.tarent.de/
Tel: +49 30 5682943-30 • Fax: fax +49 228 52675-25

Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
Tel: +49 228 52675-0 • Fax: +49 228 52675-25
HRB AG Bonn 5168 • USt-ID (VAT): DE122264941
Geschäftsführer: Boris Esser, Elmar Geese


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 729 bytes
Desc: OpenPGP digital signature
Url : http://mail.kde.org/pipermail/necessitas-devel/attachments/20110721/1a5f241c/attachment.sig 


More information about the Necessitas-devel mailing list