Browse Source

Merge pull request #4249 from SomberNight/kivy_launchmode

kivy: change activity launchMode to singleTask
3.2.x
ThomasV 7 years ago
committed by GitHub
parent
commit
55189c8623
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      gui/kivy/Readme.md
  2. 3
      gui/kivy/tools/buildozer.spec

8
gui/kivy/Readme.md

@ -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:
@ -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

3
gui/kivy/tools/buildozer.spec

@ -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

Loading…
Cancel
Save