[Lazarus] Qt for Android - Necessitas

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Wed May 18 10:34:47 CEST 2011


On Wed, May 18, 2011 at 10:30 AM, Michael Schnell <mschnell at lumino.de> wrote:
> Besides the GUI, Android encapsulates multiple Phone-specific functions and
> provides the as a high level Java-based API (such as dialing, GPS, ...) How
> to access same when doping a native code application with a QT GUI ?

There is something called Qt Mobility which should be an abstract API
around generic phone features. At the moment it isn't implemented for
Android, but in a unknown future it could be.

At the moment you need to call the Java APIs, which for C++ apps
actually means that the Java part of the application needs to do those
calls.

Android Qt apps are not 100% native, they also need a Java side. The
objective here was being able to write the GUI in C++, therefore
requiring less Java, not removing the Java side (which is impossible).

-- 
Felipe Monteiro de Carvalho




More information about the Lazarus mailing list