| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Change-Id: I82a34fe82c2257685cdc9a6a278f2d7b476f336c
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
(cherry picked from commit 0fec72fe5bb3b095e5c6eb1a98bc42289e56c999)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
An example that retrieves music data from Java APIs, and store that in
a Java ArrayList of objects. Then, how to pass that data to Qt via C++
and QML.
Task-number: QTBUG-83038
Change-Id: I5201572b997973388c688ca0d3f2f30240da12f6
Reviewed-by: Ville Voutilainen <ville.voutilainen@qt.io>
(cherry picked from commit 8ebbdcc7c4a0c2c6f863060500136b9399eccf98)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
| |
Task-number: QTBUG-83038
Change-Id: I87a631551c3c6fbb22eaaf56acad6b8ae87f4560
Reviewed-by: Tarja Sundqvist <tarja.sundqvist@qt.io>
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
(cherry picked from commit 85b2ea13da75303371ef8f82d5c0a079fa437904)
Reviewed-by: Ville Voutilainen <ville.voutilainen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Pure Android service in the same process.
* Android Services with BroadcastReceiver with same .so file
and separate .so file.
* Android Service with QAndroidBinder in separate .so file.
Task-number: QTBUG-83038
Change-Id: I24a4dbe4f1de56736625cfdfe2e7fc3ea4905de5
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Ville Voutilainen <ville.voutilainen@qt.io>
(cherry picked from commit c61bce34948922e006dc6c507e71dc4c82588a6c)
|
|
|
|
|
|
|
|
| |
Task-number: QTBUG-83038
Change-Id: Ic789dfc55d73fba39ed2acf8f1b4376f772b7626
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
(cherry picked from commit 9d11c9fe80e1c6801e1b378efeebf9127887a60a)
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
|
|
|
|
|
|
| |
Task-number: QTBUG-80390
Change-Id: Ie37723184980c37bde6f868c3a85294b926673dd
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
This examples shows the proper way to communication between QML/C++
and Java in both ways. This example calls a Java method from QML and
C++, then the Java method will also call back a C++ function that will
be forwarded to a QML connection.
Task-number: QTBUG-80717
Change-Id: I96d9551d1abcaf80899c4dd3c727a267fb6f3c07
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The notification example needed some fixing because it was
crashing, now passing context from C++ side.
There are some changes to the Android Notification API, so
some changes has to be made to make sure the example works for
different old and new Android API levels.
+ Updating the icons.
Task-number: QTBUG-80717
Change-Id: I1560e31b73233895053b1a9a6a523a7b163c5d89
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
|
|
|
|
|
|
|
|
| |
Update instance of old code using JNI_VERSION_1_4 to make the code
consistent.
Change-Id: I273f7224daa6a5f0bf7541e6ed61029cbdc790d5
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove references of resultReceiver parameter from a new
QtAndroid::startActivity() overload, as it has no such parameter.
Add a few dummy typedefs specific to documentation builds, to avoid
the Clang-parser from tripping over undefined types on non-Android
platforms.
Fixes: QTBUG-79813
Change-Id: I6972ae7d5b8d4ca7f338af8958ccf3cf43dce71c
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
|\
| |
| |
| | |
Change-Id: I6796a88dae9e17bafc7696abecb4bba271665241
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The Java function putExtra() returns an object, so it should be called
with callObjectMethod() instead of callMethod().
Fixes: QTBUG-77101
Change-Id: Id6bb402c05b119257fb331db1eb4e016a94c0d52
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
|
| |
| |
| |
| |
| |
| | |
Task-number: QTBUG-74391
Change-Id: Ie2b5f498fa6f4effc27f07f3aab0061fa77e94c9
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The current way of handling activity results by inheriting from QAndroidActivityResultReceiver
is very un-Qt. This patch allows handling activity results by passing a std::function/lambda
expression to the startActivity function.
Change-Id: Ie9dc91cd02dfcdb16a9ad0cb7858387e75159815
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
|
|/
|
|
|
|
|
|
|
|
|
| |
The function simply calls the other startActivity with
QAndroidIntent::handle, anyone could do that from the user code, but i
think it makes sense the library to allow you doing this directly given
you're supposed to pass an intent and we have a class that represents an
intent
Change-Id: I673cb410b07ed4fd1408a971696a3b5ae3dfd063
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In file included from qtbase/include/QtCore/5.12.0/QtCore/private/qjni_p.h:1:
qtbase/include/QtCore/5.12.0/QtCore/private/../../../../../src/corelib/kernel/qjni_p.h:68:1: warning:
'QJNIEnvironmentPrivate' defined as a class here but previously declared as a struct [-Wmismatched-tags]
class Q_CORE_EXPORT QJNIEnvironmentPrivate
^
jni/qandroidjnienvironment.h:50:1: note: did you mean class here?
struct QJNIEnvironmentPrivate;
^~~~~~
class
Change-Id: I0df1a4350c50ca920ad7f13978a62913a9702a15
Reviewed-by: Volker Krause <volker.krause@kdab.com>
Reviewed-by: Albert Astals Cid <albert.astals.cid@kdab.com>
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
|
|
|
|
|
|
| |
Change-Id: I8e9d534e8752466c57d79cbb136c4dec01c8695e
Reviewed-by: Volker Krause <volker.krause@kdab.com>
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
|
|
|
|
|
|
|
|
|
|
| |
The use of QT_INSTALL_HEADERS caused documentation build failures
in certain configurations. Use an alternative method to pass the
required include paths to QDoc.
Task-number: QTBUG-67925
Change-Id: Ia8c25b0cfb950f43ec60a3768cd192588a5e5617
Reviewed-by: Martin Smith <martin.smith@qt.io>
|
|\
| |
| |
| | |
Change-Id: I88b7094f8b625c14f2524576e73cf7fc3f807a1d
|
| |
| |
| |
| |
| |
| |
| | |
Task-number: QTBUG-70284
Change-Id: Ic2a0613f3f57661e8c6b4665cefbd6dc73fd37f3
Reviewed-by: Volker Krause <volker.krause@kdab.com>
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
|
|/
|
|
|
|
|
|
|
|
|
|
| |
QAndroidJniEnvironment::findClass is a convenient method needed to find
classes in all class loaders.
[ChangeLog][QtAndroid]
QAndroidJniEnvironment::findClass convenient method to find classes in
all class loaders.
Change-Id: I23c9e8a02aa7ca02cf707be5548ce1f8bb555dd7
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
|
|
|
|
|
| |
Change-Id: Id585a4f8fb21eb263a601857b47e3fcfcb2c7f4a
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
QDoc in Qt 5.11 uses Clang to parse the C++ source for documentation
comments. Unlike the old parser, Clang requires a module header to
be present as well as correct include paths to generate the docs
correctly. However, these are available from the build system only
when building for Android, not when generating the documentation
on a system with no Android-related assets.
To fix this, create a 'dummy' module header specific to doc builds,
add required relative include paths in .qdocconf, and fix the
documentation \fn commands to work with Clang.
Change-Id: Ia3d4e50ff8756cd8c8aae9cd3c3d1492eb7db328
Reviewed-by: Martin Smith <martin.smith@qt.io>
|
|\
| |
| |
| | |
Change-Id: I614aee68dea8253732b72e4534750897583aab45
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
constructor exits
If we call QtAndroidPrivate::setOnBindListener before QAndroidService constructor exits the virtual table
is not set and m_service->onBind will call the wrong method.
Task-number: QTBUG-66222
Change-Id: I3d057e33dd36a317c5605d7eb5d6892827ad7b13
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Until now the users were forced to subclass QAndroidService in order to
provide the binder. Now is much easier, the user just pass a lambda in
the QAndroidService constructor e.g.
QAndroidService app(argc, argv, [](const QAndroidIntent &){ return new
MyBinder{};});
Change-Id: I97608f806b311ad3c853a86cde132aea8352349b
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
|
|\|
| |
| |
| | |
Change-Id: I1f8c55c8647779c972d7d152ecd0c56bdf66a586
|
| |\
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
.qmake.conf
Change-Id: I67661e95e931fd7c6992f8f1769c50472c5e5f15
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: Icfe3f6a712a8e457dd695b5f0f982760eb78f4f1
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: Ia4fbd4718a698e0d4a0835869e51852c12b1442d
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This removes the pre-dexed JAR files activated by the absence of the
bundled_jar_file CONFIG option, as versions of Android >= 5 no longer
support this deployment mechanism.
Now, the "bundled" JARs simply become normal JARs containing class
files, and are neither activated by a bundled_jar_file CONFIG entry nor
do they have a -bundled suffix in the file's base name.
Task-number: QTBUG-62995
Change-Id: Id370f03de61463bb3a8312d357374cf5c89fca69
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
|
| |
| |
| |
| |
| |
| | |
Task-number: QTBUG-50759
Change-Id: Ie7fef30049e6be28c3fba2eb5b54b56552df8c9d
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
These are the building blocks for higher level APIs such as Qt Remote
Objects.
[ChangeLog][Android] Added low level APIs for Android Service & Binder.
Change-Id: I320214d310a398541bbde985ecf67bf6101c0b67
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
|
| |
| |
| |
| |
| | |
Change-Id: Ib9d88dee71459d61d12bb975e24e8e59e687434d
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
|
|/
|
|
|
|
| |
Change-Id: If78fe57fd5ceccad541fb2b3d7a92eefcda06057
Task-number: QTBUG-59200
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
|
|
|
|
|
|
|
|
| |
[ChangeLog][QtAndroidExtras][QtAndroid] Added QtAndroid::androidContext()
Task-number: QTBUG-55102
Change-Id: I95122c8939e227acffb13ea9ba1a338a9d05595a
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
|
|\
| |
| |
| |
| |
| |
| | |
Conflicts:
.qmake.conf
Change-Id: Idbbad4585c05ea7c42c5d60e8b74ec20ca3d8737
|
| |
| |
| |
| |
| |
| |
| |
| | |
Should be reverted when https://github.com/android-ndk/ndk/issues/34 is fixed
Change-Id: Idcc951ff432dbadd57a09851bcb7486b019b3426
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
|
|\|
| |
| |
| | |
Change-Id: I324ee61f7627de76bcc3765fe18fa009166fe5b5
|
| |
| |
| |
| |
| |
| |
| |
| | |
Examples in binary packages now directly match the install path.
Change-Id: I7a98d68cbc0623e86bb9dcfb3cadd1adc9631ebf
Task-number: QTBUG-52953
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
|
|\|
| |
| |
| | |
Change-Id: I3d3f2f84808ca29a056783873dd78094a53c2875
|
| |
| |
| |
| |
| |
| |
| |
| | |
Subjects a *.png file that matched grep -law "sRGB" to:
pngcrush -ow -brute -rem allb -reduce -force
Change-Id: Ief67f8ca4dfc44655af62e70c10cb623acf83642
Reviewed-by: Topi Reiniö <topi.reinio@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Added explicit where it was missing. This is not a source-
incompatible change, because code that breaks by this is
a bug. Let's not have this sitting around in an LTS.
This change only affects C++11.
Change-Id: I01ef7f6c26c8087e8516c9d66067060a6ed7c020
Reviewed-by: Christian Stromme <christian.stromme@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
By making the destructor (usually the first non-inline, non-pure,
virtual function, and therefore the trigger for most compilers to
emit the vtable and type_info structures for the class in that TU)
out-of-line, vtables and, more importantly, type_info strucures for
the class are pinned to a single TU. This prevents false negative
dynamic_cast and catch evaluation.
Since it is already exported, users of the class are unaffected by
the change, but since it's public API, and the dtors may have been
de-virtualized and inlined into application code, we need to avoid
adding code to the out-of-line dtor until Qt 6.
Task-number: QTBUG-45582
Change-Id: I60273f7352be0d5a45a94828647d61f0ec9f1d79
Reviewed-by: Christian Stromme <christian.stromme@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
... or equivalent.
QtBase 5.6 headers already compile that way, so let the other
modules follow suit.
Change-Id: I26201944b21d83f78c9e1c75cbd55334cd16359f
Task-number: QTBUG-45291
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
|
|\|
| |
| |
| | |
Change-Id: If08e856e0de436395382ef141b55f8d1e984535f
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
this fixes static builds by ensuring that all dependencies are exported.
no actual effect in this module.
Change-Id: Ie4e6968b9a10fd20895393d4f7f5b490c7e8119d
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
|
| |
| |
| |
| |
| |
| |
| | |
This function is useful to hide a sticky splash screen.
Change-Id: I724a47a8cb73d3288916ed77b760217520d6b5ef
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Currently accessing the service requires use of private APIs.
Change-Id: I480657978e8318f98f5ee24bd4587c467110677a
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>
|
|\|
| |
| |
| |
| |
| |
| | |
Conflicts:
.qmake.conf
Change-Id: I4497150a68daf85260a55a6539f5ed178b55a725
|