How To Use Both Kivy and GTK in the Same Application

Today I was wondering whether both Kivy and GTK could run together in the same application. So I started looking up online to see if anybody already tried, but I didn’t find anything. Then I thought maybe I could try doing it myself. I was surprised when I managed to do it. All you need to do is run them in a separate thread. That’s it! I thought it wasn’t going to work as GTK is very picky with threads, but it did!

You can do very useful things with both frameworks running. You can, for example, have an Ubuntu AppIndicator connected to your app, create a Unity launcher QuickList, use the music/messaging menu, send notifications, run a separate GTK window, etc. Continue reading “How To Use Both Kivy and GTK in the Same Application”

There is a mobile optimized version of this page, view mobile Version.

How to add Buildozer build system to Sublime Text

If you develop Android applications with Sublime Text, you might find it useful to use its built-in building system to debug your application instead of switching every time to a terminal. I made a simple build system config file which allows you to do the most common operations without leaving the editor.

Continue reading “How to add Buildozer build system to Sublime Text”

There is a mobile optimized version of this page, view mobile Version.

Navigation with Back and Escape Buttons with Kivy on Android

As you write your app and decide to target the Android platform, you might have noticed that implementing navigation is a little harder than in native Java apps.
It’s harder, but not impossible.

There are different ways to do it, but it’s easiest when you use a ScreenManager to manage all your app’s screens.

Continue reading “Navigation with Back and Escape Buttons with Kivy on Android”

There is a mobile optimized version of this page, view mobile Version.