diff --git a/CMakeLists.txt b/CMakeLists.txt index 6e938a3e0..f4b328f02 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -719,13 +719,14 @@ endif() if(ANDROID) # Android template directory - set(ANDROID_PACKAGE_SOURCE_DIR, ${CMAKE_BINARY_DIR}/android) include(${QT_ANDROID_CMAKE}) if(SUBSURFACE_MOBILE) + set(ANDROID_PACKAGE_SOURCE_DIR, ${CMAKE_BINARY_DIR}/android-mobile) add_qt_android_apk(subsurface-mobile.apk subsurface-mobile PACKAGE_SOURCES ${CMAKE_CURRENT_LIST_DIR}/android ) else() + set(ANDROID_PACKAGE_SOURCE_DIR, ${CMAKE_BINARY_DIR}/android) add_qt_android_apk(subsurface.apk ${SUBSURFACE_TARGET} PACKAGE_SOURCES ${CMAKE_CURRENT_LIST_DIR}/android ) diff --git a/android-mobile/AndroidManifest.xml b/android-mobile/AndroidManifest.xml new file mode 100644 index 000000000..6a6b1007a --- /dev/null +++ b/android-mobile/AndroidManifest.xml @@ -0,0 +1,109 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/android-mobile/res/drawable-hdpi/subsurface_mobile_icon.png b/android-mobile/res/drawable-hdpi/subsurface_mobile_icon.png new file mode 100644 index 000000000..87ee56c34 Binary files /dev/null and b/android-mobile/res/drawable-hdpi/subsurface_mobile_icon.png differ diff --git a/android-mobile/res/drawable-mdpi/subsurface_mobile_icon.png b/android-mobile/res/drawable-mdpi/subsurface_mobile_icon.png new file mode 100644 index 000000000..ca0465f89 Binary files /dev/null and b/android-mobile/res/drawable-mdpi/subsurface_mobile_icon.png differ diff --git a/android-mobile/res/drawable-xhdpi/subsurface_mobile_icon.png b/android-mobile/res/drawable-xhdpi/subsurface_mobile_icon.png new file mode 100644 index 000000000..7003c1feb Binary files /dev/null and b/android-mobile/res/drawable-xhdpi/subsurface_mobile_icon.png differ diff --git a/android-mobile/res/drawable-xxhdpi/subsurface_mobile_icon.png b/android-mobile/res/drawable-xxhdpi/subsurface_mobile_icon.png new file mode 100644 index 000000000..07b4badac Binary files /dev/null and b/android-mobile/res/drawable-xxhdpi/subsurface_mobile_icon.png differ diff --git a/android-mobile/res/drawable-xxxhdpi/subsurface_mobile_icon.png b/android-mobile/res/drawable-xxxhdpi/subsurface_mobile_icon.png new file mode 100644 index 000000000..4982f3276 Binary files /dev/null and b/android-mobile/res/drawable-xxxhdpi/subsurface_mobile_icon.png differ diff --git a/android-mobile/res/values/strings.xml b/android-mobile/res/values/strings.xml new file mode 100644 index 000000000..9d8835ec7 --- /dev/null +++ b/android-mobile/res/values/strings.xml @@ -0,0 +1,8 @@ + + + Subsurface-Mobile + + Can\'t find Ministro service.\nThe application can\'t start. + This application requires Ministro service. Would you like to install it? + Your application encountered a fatal error and cannot continue. + diff --git a/subsurface-mobile-icon.svg b/subsurface-mobile-icon.svg new file mode 100644 index 000000000..e4cf8aea2 --- /dev/null +++ b/subsurface-mobile-icon.svg @@ -0,0 +1,147 @@ + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + +