kivy / kivy/python-for-android
QCoreApplication in foreground service
- Dominant language
- Python
- Stars
- 8.9k
- Forks
- 2k
- Avg merge
- 12h 20m
- Merged PRs (30d)
- 9
Description
I created a graphical app using PySide6 and QML and deploys it to Android which works fine, I also created foreground services in python-only code and they also work fine, but when I create a foreground service which uses QCoreApplication for some QtCore stuffs like signal and slot and event-loop management, the moment I create the QCoreApplication, the service crashes with a crash dump in log-cat
Can anyone guide me why this is happening and how can i use the Pyside6 and QCoreApplication inside a foreground service?
Thanks
Contributor guide
Research direction
Start by reproducing the Android foreground-service case with PySide6 and QCoreApplication, then inspect the logcat crash dump described in the issue. Determine whether the service can support QCoreApplication and document the required integration or limitation; the issue names no repository files or tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100