updated splash screen and app icon for android
the build was successful
Details
the build was successful
Details
This commit is contained in:
parent
3d509c6810
commit
4f4df63e51
|
@ -19,12 +19,12 @@ for every major version change of therecipe dependencies.
|
||||||
|
|
||||||
You will also need the Android 28 SDK (Pie), the NDK, SDK build tools and platform tools, gradle and **JDK 8**
|
You will also need the Android 28 SDK (Pie), the NDK, SDK build tools and platform tools, gradle and **JDK 8**
|
||||||
|
|
||||||
JAVA_HOME=/path/to/jre8
|
JAVA_JDK=/path/to/jre8
|
||||||
ANDROID_NDK_DIR=/path/to/ndk
|
ANDROID_NDK_DIR=/path/to/ndk
|
||||||
|
|
||||||
Once all that setup is done you should be able to run:
|
Once all that setup is done you should be able to run:
|
||||||
|
|
||||||
qtdeploy build android
|
ANDROID_MODULES_INCLUDE="Core,Gui,Svg,QuickWidgets,Xml" qtdeploy build android
|
||||||
|
|
||||||
2-4 minutes later an android apk will pop out in `./deploy/android/build-debug.apk`.
|
2-4 minutes later an android apk will pop out in `./deploy/android/build-debug.apk`.
|
||||||
|
|
||||||
|
@ -86,4 +86,4 @@ issues might be helpful:
|
||||||
- Android 8 (API Level 26) forces you to call setChannelId()
|
- Android 8 (API Level 26) forces you to call setChannelId()
|
||||||
- Android 9 "Do Not Disturb" mode also hides all notifications
|
- Android 9 "Do Not Disturb" mode also hides all notifications
|
||||||
- Setting up notification channels only seems possible *once* per install. any changes you need to make
|
- Setting up notification channels only seems possible *once* per install. any changes you need to make
|
||||||
require that the app is reinstalled, or the actual channel deleted and changed.
|
require that the app is reinstalled, or the actual channel deleted and changed.
|
||||||
|
|
|
@ -1,9 +1,20 @@
|
||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<manifest package="ca.openprivacy.cwtch.ui" xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="1.0" android:versionCode="1" android:installLocation="auto">
|
<manifest package="ca.openprivacy.cwtch.ui" xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
<application android:hardwareAccelerated="true" android:name="org.qtproject.qt5.android.bindings.QtApplication" android:label="cwtch" android:icon="@drawable/ic_launcher">
|
android:versionName="1.0"
|
||||||
|
android:versionCode="1"
|
||||||
|
android:installLocation="auto">
|
||||||
|
<application android:hardwareAccelerated="true"
|
||||||
|
android:name="org.qtproject.qt5.android.bindings.QtApplication"
|
||||||
|
android:label="cwtch"
|
||||||
|
android:icon="@drawable/knot">
|
||||||
|
|
||||||
<activity android:configChanges="orientation|uiMode|screenLayout|screenSize|smallestScreenSize|layoutDirection|locale|fontScale|keyboard|keyboardHidden|navigation"
|
<activity android:configChanges="orientation|uiMode|screenLayout|screenSize|smallestScreenSize|layoutDirection|locale|fontScale|keyboard|keyboardHidden|navigation"
|
||||||
android:name="ca.openprivacy.cwtch.ui.CwtchActivity"
|
android:name="ca.openprivacy.cwtch.ui.CwtchActivity"
|
||||||
android:label="cwtch" android:theme="@style/AppTheme" android:screenOrientation="unspecified" android:launchMode="singleTop" android:windowSoftInputMode="adjustResize">
|
android:label="cwtch"
|
||||||
|
android:theme="@style/AppTheme"
|
||||||
|
android:screenOrientation="unspecified"
|
||||||
|
android:launchMode="singleTop"
|
||||||
|
android:windowSoftInputMode="adjustResize">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="android.intent.action.MAIN"/>
|
<action android:name="android.intent.action.MAIN"/>
|
||||||
<category android:name="android.intent.category.LAUNCHER"/>
|
<category android:name="android.intent.category.LAUNCHER"/>
|
||||||
|
@ -110,7 +121,7 @@
|
||||||
|
|
||||||
</application>
|
</application>
|
||||||
|
|
||||||
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="29"/> -->
|
<uses-sdk android:minSdkVersion="23" android:targetSdkVersion="29"/> -->
|
||||||
<supports-screens android:largeScreens="true" android:normalScreens="true" android:anyDensity="true" android:smallScreens="true"/>
|
<supports-screens android:largeScreens="true" android:normalScreens="true" android:anyDensity="true" android:smallScreens="true"/>
|
||||||
|
|
||||||
<uses-permission android:name="android.permission.INTERNET"/>
|
<uses-permission android:name="android.permission.INTERNET"/>
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 5.0 KiB |
Binary file not shown.
After Width: | Height: | Size: 3.7 KiB |
|
@ -2,11 +2,14 @@
|
||||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<item>
|
<item>
|
||||||
<shape android:shape="rectangle" >
|
<shape android:shape="rectangle" >
|
||||||
<solid android:color="#FFFFFFFF"/>
|
<solid android:color="#FFFDF3FC"/>
|
||||||
</shape>
|
</shape>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
|
<!-- It would be nice to find a way to use a transition and trigger it but I haven't yet -->
|
||||||
<item>
|
<item>
|
||||||
<bitmap android:src="@drawable/cwtch_logo"
|
<bitmap android:src="@drawable/splash_350"
|
||||||
android:gravity="center" />
|
android:gravity="center" />
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
</layer-list>
|
</layer-list>
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<resources>
|
<resources>
|
||||||
<style name="AppTheme" parent="@android:style/Theme.DeviceDefault.Light.NoActionBar">
|
<style name="AppTheme" parent="@android:style/Theme.NoTitleBar.Fullscreen">
|
||||||
<item name="android:windowBackground">@drawable/splash</item>
|
<item name="android:windowBackground">@drawable/splash</item>
|
||||||
</style>
|
</style>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<resources>
|
||||||
|
<string name="loading_tor">Loading tor...</string>
|
||||||
|
</resources>
|
||||||
|
|
Reference in New Issue