-
Notifications
You must be signed in to change notification settings - Fork 431
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
android: using gps app cannot resume from pause #112
Comments
@pat1 I assume you are talking about the example gps app. I didn't implement on_resume for the app (http://kivy.org/docs/api-kivy.app.html#kivy.app.App.on_resume) so you can expect this behavior. This can be fixed. I am not sure what exactly you mean when you say: "If I put gps.stop() in on_pause method the app is stalled too.". |
I have my own app (not the example gps app). I have implemented on_stop on_pause on_resume. |
I found a problem in my app; I can replicate the freeze in modified gps example: there is a bug in my main.py ; uncomment line 74 and all work well. |
@pat1 your gist link doesn't exist anymore. please update it for future references. |
if I use gps the app is stalled every times android go to sleep mode.
If I put gps.stop() in on_pause method the app is stalled too.
I/python (29483): [INFO ] [Android ] Must go into sleep mode, check the app
I/python (29483): >>>>>>>>> called on appication pause
I/python (29483): going to save status
I/python (29483): [INFO ] [Android ] App paused, now wait for resume.
I/WindowManager( 2038): Input event dispatching timed out sending to org.test.rmap/org.renpy.android.PythonActivity
E/ActivityManager( 2038): ANR in org.test.rmap:python (org.test.rmap/org.renpy.android.PythonActivity)
E/ActivityManager( 2038): 0.3% 26952/org.test.rmap:PythonService: 0.1% user + 0.2% kernel / faults: 54 minor
The text was updated successfully, but these errors were encountered: