Hacker News new | ask | show | jobs
by tored 1548 days ago
Don't you need hooks on the application level so the app can handle the lifecycle to avoid polling?

https://developer.apple.com/documentation/uikit/app_and_envi...

https://developer.android.com/guide/components/activities/ac...

I'm not an app expert nor an expert on GNOME development either, but I got a bit sceptical when I read their app example code, python with GNOME, neither is famous for being snappy.

1 comments

That sort of thing seems like a good idea. There are X programs (and presumably Wayland programs) that do similar things (like web browsers stopping things when switching to a different tab or minimising the window). But we could probably do better with different interfaces.

For the moment the Librem 5 seems to be using apps designed to work on PC desktops but at lower resolutions.