Hi all,
Is it possible to use Necessitas (Qt for Android) with Lazarus? I mean if anyone tried or if it could work :)
it's simply curiosity (for now: I don't have android devices)
Regards,
Kjow

Mailing lists / lazarus / 2011-05
7 messages · 3 people · –
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Hi all,
Is it possible to use Necessitas (Qt for Android) with Lazarus? I mean if anyone tried or if it could work :)
it's simply curiosity (for now: I don't have android devices)
Regards,
Kjow
I don't think anyone has seriously tryed.
An interesting interview about necessitas: http://www.behindkde.org/node/925
It seams quite interesting, seams that he used the Surface API and custom-draws widgets. I bet it will have serious issues with all the wierd virtual keyboards and fonts one can find out there in various devices.
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 ?
-Michael
Michael Schnell wroteBesides 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).
Michael Schnell wroteIs there already a C++ library plus the appropriate "standard" Java stub-set for C++ ?apps that are supposed to run on Android via QT ??
Yes.
Will there be ?a Lazarus "Widget Type", and a set of LCL API calls plus the appropriate "standard" Java stub-set for fpc ?apps that are supposed to run on Android via QT ?? :-)
It might exist when someone contribute that =)
Note that at the moment I am working only in Pascal apps which use the Android API.
There is something called Qt Mobility which should be an abstract API around generic…
Felipe Monteiro de Carvalho wroteAndroid Qt apps are not 100% native, they also need a Java side.
I supposed it would be this way.
Is there already a C++ library plus the appropriate "standard" Java stub-set for C++ apps that are supposed to run on Android via QT ?
Will there be a Lazarus "Widget Type", and a set of LCL API calls plus the appropriate "standard" Java stub-set for fpc apps that are supposed to run on Android via QT ? :-)
Thanks,
-Michael
I don't think anyone has seriously tryed. An interesting interview about necessitas:…
2011/5/17 Felipe Monteiro de Carvalho :
Thanks, it would be very interesting with Lazarus.
Regards,
Kjow