Hi Laszlo,
> When the bugzilla entry was being submitted, I tried to ask around in #qt-labs, but there was not much reaction. I can understand it is not a hot topic. :)
Probably the theme not hot, but users already start being interested in Android support, e.g.:
Also there is an interest and at Russian-speaking forums (where even user to me sent a patch for Android Bluetooth). :)
> but I have no experience with Android, nor time to explore, nor device.
But I have Android the device (my smartphone ) :). And in principle, it is possible to try to begin implementation, at least in the research
purposes to a /dev branch or in a playground. I hope that after we will begin integration, somebody will help us.
> Android contributions have been going to Qt for a while. Check QtSensors how they have managed the android bits, or QtMultimedia for reference. Also, there is Q_OS_ANDROID.
Yes, thanks. I was inattentive and skip it.
Now, having viewed again the source codes Qt5.1 I see that customization for Android is present at different places (both in QtBase, and in QtSensors, etc.).
E.g.:
QtBase has and *_android.cpp files, e.g.:
and /android directory:
But, files *_android.cpp don't contain any JNI's code, and /android directory has no h/cpp files.
On the other hand, the structure of directories of modules QtSensors, QtMultimedia, etc.
has other structure where everything that belongs Android there is in /plugins directory, but
the source code for Win/Mac/Unix there in /src directory, e.g.
...
/src/<source for win, mac, nix>
/plugins/android/<source for android's JNI wrappers>
/plugins/qnx/<source for .. >
...
Thus, it isn't so clear to me... As to us to arrive and where to store implementation for Android for QtSerialPort?
And as /plugins dir will interact with /src dir in relation to the result of compiling the output binaries of the module?
:)
Best regards,
Denis
01.08.2013, 12:22, "Laszlo Papp" <[email protected]>:
This is the latest blog post to be up to date: http://blog.qt.digia.com/blog/2013/07/23/anatomy-of-a-qt-5-for-android-application/Android contributions have been going to Qt for a while. Check QtSensors how they have managed the android bits, or QtMultimedia for reference. Also, there is Q_OS_ANDROID.When the bugzilla entry was being submitted, I tried to ask around in #qt-labs, but there was not much reaction. I can understand it is not a hot topic. :)It would have been useful from the reporter to actually report what does not work or if he had tried to build it on Android already. QNX will require a slightly different backend, but I have no experience with Android, nor time to explore, nor device.On Thu, Aug 1, 2013 at 9:10 AM, Denis Shienkov <[email protected]> wrote:Hello, Guys.
There is an idea to port QtSerialPort for Android. But I don't know where to send patches because in the Qt5.1'
source code I anywhere don't see files like *_android.h(cpp).
I so understand, what everything, what is belongs with Android isn't part of Qt - and it is the separate
Necessitas project? Or I am mistaken?
Help please, where to take source codes of wrappers between Qt/Java/Android, where to send patches, etc.?
Best regards,
Denis
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development
_______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
