kivy / kivy/python-for-android

QCoreApplication in foreground service

Open
#3,263 2 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.