tMerge pull request #4249 from SomberNight/kivy_launchmode - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 55189c862384718542f1a54a789f4c4c3e9316af DIR parent 35b3294a5df92ba6ea42d81fba856547b5896ab6 HTML Author: ThomasV <thomasv@electrum.org> Date: Tue, 10 Apr 2018 17:56:31 +0200 Merge pull request #4249 from SomberNight/kivy_launchmode kivy: change activity launchMode to singleTask Diffstat: M gui/kivy/Readme.md | 8 ++++---- M gui/kivy/tools/buildozer.spec | 3 +++ 2 files changed, 7 insertions(+), 4 deletions(-) --- DIR diff --git a/gui/kivy/Readme.md b/gui/kivy/Readme.md t@@ -7,7 +7,7 @@ p4a is used to package Electrum, Python, SDL and a bootstrap Java app into an AP We patched p4a to add some functionality we need for Electrum. Until those changes are merged into p4a, you need to merge them locally (into the master branch): -2. [kivy/python-for-android#1217](https://github.com/kivy/python-for-android/pull/1217) +1.1 [kivy/python-for-android#1217](https://github.com/kivy/python-for-android/pull/1217) Something like this should work: t@@ -16,9 +16,9 @@ cd /opt git clone https://github.com/kivy/python-for-android cd python-for-android git remote add agilewalker https://github.com/agilewalker/python-for-android -git checkout a036f4442b6a23 -git fetch agilewalker -git merge agilewalker/master +git fetch --all +git checkout 93759f36ba45c7bbe0456a4b3e6788622924cbac +git merge a2fb5ecbc09c4847adbcfd03c6b1ca62b3d09b8d ``` ## 2. Install buildozer DIR diff --git a/gui/kivy/tools/buildozer.spec b/gui/kivy/tools/buildozer.spec t@@ -107,6 +107,9 @@ android.add_activities = org.electrum.qr.SimpleScannerActivity # (str) XML file to include as an intent filters in <activity> tag android.manifest.intent_filters = gui/kivy/tools/bitcoin_intent.xml +# (str) launchMode to set for the main activity +android.manifest.launch_mode = singleTask + # (list) Android additionnal libraries to copy into libs/armeabi #android.add_libs_armeabi = lib/android/*.so