diff --git a/Theengs.pro b/Theengs.pro index c469b3a..999babc 100644 --- a/Theengs.pro +++ b/Theengs.pro @@ -1,6 +1,6 @@ TARGET = Theengs -VERSION = 1.4.0 +VERSION = 1.4.1 DEFINES+= APP_NAME=\\\"$$TARGET\\\" DEFINES+= APP_VERSION=\\\"$$VERSION\\\" @@ -277,6 +277,7 @@ android { OTHER_FILES += $${PWD}/assets/android/src/com/theengs/app/TheengsBootServiceBroadcastReceiver.java \ $${PWD}/assets/android/src/com/theengs/app/TheengsAndroidService.java \ $${PWD}/assets/android/src/com/theengs/app/TheengsAndroidNotifier.java \ + $${PWD}/assets/android/src/com/theengs/utils/QGpsUtils.java \ $${PWD}/assets/android/src/com/theengs/utils/QShareUtils.java \ $${PWD}/assets/android/src/com/theengs/utils/QSharePathResolver.java diff --git a/assets/android/AndroidManifest.xml b/assets/android/AndroidManifest.xml index 5f3f35a..2812bff 100644 --- a/assets/android/AndroidManifest.xml +++ b/assets/android/AndroidManifest.xml @@ -1,6 +1,6 @@ + package="com.theengs.app" android:versionName="1.4.1" android:versionCode="01040108"> @@ -34,8 +34,9 @@ + android:hardwareAccelerated="true" android:allowNativeHeapPointerTagging="false" + android:theme="@style/AppTheme" android:roundIcon="@mipmap/ic_launcher_round" android:icon="@mipmap/ic_launcher" + android:label="Theengs BLE"> diff --git a/src/thirdparty/AppUtils/utils_os_android_qt6.cpp b/src/thirdparty/AppUtils/utils_os_android_qt6.cpp index 526255f..2aec50f 100644 --- a/src/thirdparty/AppUtils/utils_os_android_qt6.cpp +++ b/src/thirdparty/AppUtils/utils_os_android_qt6.cpp @@ -461,7 +461,7 @@ bool UtilsAndroid::gpsutils_isGpsEnabled() bool status = false; jboolean verified = QJniObject::callStaticMethod( - "io/emeric/utils/QGpsUtils", + "com/emeric/utils/QGpsUtils", "checkGpsEnabled", "(Landroid/content/Context;)Z", QNativeInterface::QAndroidApplication::context()); @@ -479,7 +479,7 @@ bool UtilsAndroid::gpsutils_forceGpsEnabled() bool status = false; jboolean verified = QJniObject::callStaticMethod( - "io/emeric/utils/QGpsUtils", + "com/emeric/utils/QGpsUtils", "forceGpsEnabled", "(Landroid/content/Context;)Z", QNativeInterface::QAndroidApplication::context());