diff --git a/CMakeLists.txt b/CMakeLists.txt index 7e32c4b1..a21aeaf5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -54,6 +54,7 @@ if (ANDROID) find_package(SQLite3) find_package(ZLIB) find_package(Gradle) + configure_file(${CMAKE_CURRENT_SOURCE_DIR}/android/version.gradle.in ${CMAKE_BINARY_DIR}/version.gradle) else() find_package(Qt5 ${QT_MIN_VERSION} REQUIRED COMPONENTS Widgets DBus) endif() diff --git a/android/AndroidManifest.xml b/android/AndroidManifest.xml index 8618c067..6f2c9bce 100644 --- a/android/AndroidManifest.xml +++ b/android/AndroidManifest.xml @@ -16,7 +16,7 @@ diff --git a/android/src/org/kde/kasts/Activity.java b/android/src/org/kde/kasts/Activity.java new file mode 100644 index 00000000..1cb2e0e5 --- /dev/null +++ b/android/src/org/kde/kasts/Activity.java @@ -0,0 +1,27 @@ +// SPDX-FileCopyrightText: 2018 Volker Krause +// SPDX-License-Identifier: LGPL-2.0-or-later + + +package org.kde.kasts; + +import org.qtproject.qt5.android.bindings.QtActivity; + +import android.content.Intent; +import android.database.Cursor; +import android.net.Uri; +import android.provider.CalendarContract; +import android.os.Bundle; +import android.util.Log; + +import java.io.*; +import java.util.*; + +public class Activity extends QtActivity +{ + private static final String TAG = "org.kde.kasts"; + + @Override + public void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + } +}