Giter VIP home page Giter VIP logo

Comments (1)

akshayaurora avatar akshayaurora commented on May 20, 2024

kivy-users forum http://groups.google.com/group/kivy-users
You could also just use #Kivy on irc.

Take a look at the KivyApp
LifeCyclehttp://kivy.org/docs/guide/basic.html#kivy-app-life-cycle,
essentially you should be using on_pause and on_stop to clean up.
Probably on_resume to restart your threads. It's not guaranteed that
on_resume will be called though so you should be make preparations on
on_pause accordingly.

Best Regards

On Sat, May 18, 2013 at 1:07 AM, pkor [email protected] wrote:

I have a kivy app that needs to close threads pythonically when exited,
but when the user touches the back or home buttons on the navigation bar
the app freezes because the python activity did not get a proper exit()
call and thus the threads keep running. Since Android does not allow for
the Nav bar to be disabled I need a work around for this. I'm thinking that
using PyJnius I can have a 'os._exit(True)' called when the backbutton is
pressed. The only thing is I have no idea how I would do this. I came here
to ask the question because I don't know of a forum where I could ask.
Thank you for any help!


Reply to this email directly or view it on GitHubhttps://github.com//issues/61
.

from pyjnius.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.