Skip to content

Added ability to set input type on android #2361

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

dwmoffatt
Copy link
Contributor

This adds the ability to set input type of keyboard on android.

jayvdb and others added 22 commits December 3, 2020 18:58
…_non_gpl_build

ffmpeg and ffpyplayer improvements
Since this seems to be where the background service documentation is, I wanted to add how to set them up in buildozer.
There is a small typo in doc/source/troubleshooting.rst.

Should read `packaged` rather than `pacakged`.
Travis error was:
```
pyenv: pip3.7: command not found
```
Also bumps `actions/setup-python` to latest tag.
Hopefully fixes recent `set-env` and `add-path` commands depreciation.
The error is:
```
Error: Unable to process command
'##[set-env name=pythonLocation;]/opt/hostedtoolcache/Python/3.7.9/x64' successfully.
Error: The `set-env` command is disabled.
Please upgrade to using Environment Files or opt into unsecure command execution by
setting the `ACTIONS_ALLOW_UNSECURE_COMMANDS` environment variable to `true`.
For more information see:
https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
```
🐛 Fixes pip command on Travis and bumps actions/setup-python
Add service information for buildozer.spec
support activity_launch_mode in webview bootstrap
AndreMiras and others added 23 commits January 1, 2021 19:10
webview: add mOpenExternalLinksInBrowser field
Seems to be required to link -lm on at least 5.1, but not on 8.0
don't run git pull when not on a branch
Fix Pymunk crash on older versions of Android
* add scipy support
* flake8
* remove ccache check
* remove lapack, scipy from ci due to missing gfortran in CI machines
* better recipe names, imports
* testing argon2-cffi
* Using CompiledComponentsPythonRecipe
* argon2-cffi recipe
* pass SOURCE_DATE_EPOCH etc. through to build env
* clean tar entries & gzip mtime
* utime() files before zipping
* sort file lists before tar/zip
* call zip w/ -X
* make private_version deterministic
* python3: add reproducible-buildinfo.diff patch (from Debian)

Caveats:

* still requires identical build path and umask
* arm64-v8a requires ndk >= r22 to build completely reproducibly
  - due to a clang/llvm bug

Makefile Example:

NB: you need to export something like this in your build environment to
get reproducible builds.

export LC_ALL             := C
export TZ                 := UTC
export SOURCE_DATE_EPOCH  := $(shell git log -1 --pretty=%ct)
export PYTHONHASHSEED     := $(SOURCE_DATE_EPOCH)
export BUILD_DATE         := $(shell LC_ALL=C TZ=UTC date +'%b %e %Y' -d @$(SOURCE_DATE_EPOCH))
export BUILD_TIME         := $(shell LC_ALL=C TZ=UTC date +'%H:%M:%S' -d @$(SOURCE_DATE_EPOCH))
* fix for armeabi-v7a
* move comment to docstring
recipes: print recipe ENV on failure
* try installing setuptools first
* use specific pyzmq  version tag
…om:dwmoffatt/python-for-android into Added-Ability-To-Change-Input-Type-Android
@dwmoffatt
Copy link
Contributor Author

@AndreMiras I have rebased it.

@AndreMiras
Copy link
Member

Something went wrong with the rebase it seems. It should not show theses commits/diff 🤔

@dwmoffatt
Copy link
Contributor Author

Should I just create a new PR for it? This is what happened when I rebased the branch.

@AndreMiras
Copy link
Member

No you don't need to make a new PR.
I've tried on my remote and it worked OK:
https://github.com/kivy/python-for-android/compare/develop...AndreMiras:Added-Ability-To-Change-Input-Type-Android?expand=1
All I did was:

git remote add dwmoffatt [email protected]:dwmoffatt/python-for-android.git
git fetch --all --prune
git rebase upstream/develop # upstream is [email protected]:kivy/python-for-android.git obviously
git push origin Added-Ability-To-Change-Input-Type-Android # you would require the `--force` flag for the overwrite

Maybe ping me on Discord so we can try to go through this together

@dwmoffatt
Copy link
Contributor Author

@AndreMiras it was easier for me to spin a new PR so did that this morning. It's #2405

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.