Skip to content
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

Foreground Kivy application stopped if phone locked via power button #462

Closed
Mystic-Mirage opened this issue Oct 2, 2015 · 2 comments
Closed

Comments

@Mystic-Mirage
Copy link
Contributor

Device: Gigabyte GSmart Roma R2 Plus
Android: 4.4.2

If my application is foreground and I press the power button my application stopped by android.

adb log:

I/python ( 7168): [INFO ] [Android ] Must go into sleep mode, check the app
I/python ( 7168): [INFO ] [Android ] App paused, now wait for resume.
I/python ( 7168): [INFO ] [Android ] Android wants to close our app.
I/python ( 7168): [INFO ] [Base ] Leaving application in progress...
I/python ( 7168): Python for android ended.
I/python ( 7237): Starting audio thread

If I minimize my application via home button before lock this is not happen.

Other Kivy applications from Play Market (Touch Tracer, 2048) not affected with this issue.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@RaoulX
Copy link

RaoulX commented Nov 8, 2015

i was having the same issue on my SGS 4, but managed to get it sorted by setting in buildozer.spec:
android.minapi = 14

also tested minapi 13, and that worked as well.

@inclement
Copy link
Member

Issue is stale and I haven't seen any other reports like this, so probably fixed.

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

No branches or pull requests

3 participants